Definition at line 12 of file ServiceMetadataTest.php.
◆ setUp()
◆ testGetRouteMetadata()
Definition at line 74 of file ServiceMetadataTest.php.
79 'method' =>
'activate',
80 'inputRequired' =>
false,
83 'Magento_Customer::manage' 85 'documentation' =>
'Activate a customer account using a key that was sent in a confirmation email.',
92 'documentation' => null
94 'confirmationKey' => [
97 'documentation' => null
104 'type' =>
'CustomerDataCustomerInterface',
106 'documentation' =>
'' 110 '\\' . LocalizedException::class
116 'class' => AccountManagementInterface::class,
117 'description' =>
'Interface for managing customers accounts.',
119 '/V1/customers/me/activate' => [
121 'method' =>
'activateById',
125 'value' =>
'%customer_id%' 132 $actual = $this->serviceMetadata->getRouteMetadata(
'customerAccountManagementV1');
133 $this->assertEquals(array_replace_recursive($actual, $expected), $actual);
◆ testGetServiceMetadata()
testGetServiceMetadata |
( |
| ) |
|
Definition at line 25 of file ServiceMetadataTest.php.
30 'method' =>
'activate',
31 'inputRequired' =>
false,
34 'Magento_Customer::manage' 36 'documentation' =>
'Activate a customer account using a key that was sent in a confirmation email.',
43 'documentation' => null
45 'confirmationKey' => [
48 'documentation' => null
55 'type' =>
'CustomerDataCustomerInterface',
61 '\\' . LocalizedException::class
67 'class' => AccountManagementInterface::class,
68 'description' =>
'Interface for managing customers accounts.',
70 $actual = $this->serviceMetadata->getServiceMetadata(
'customerAccountManagementV1');
71 $this->assertEquals(array_replace_recursive($actual, $expected), $actual);
The documentation for this class was generated from the following file: