Ejemplo n.º 1
0
 public function testGetRequestedSoapServices()
 {
     $expectedResult = ['customerAccountManagementV1' => ['methods' => ['activate' => ['method' => 'activate', 'inputRequired' => '', 'isSecure' => '', 'resources' => [['Magento_Customer::manage']]]], 'class' => 'Magento\\Customer\\Api\\AccountManagementInterface', 'description' => 'Interface for managing customers accounts.']];
     $result = $this->_soapConfig->getRequestedSoapServices(['customerAccountManagementV1', 'moduleBarV2', 'moduleBazV1']);
     $this->assertEquals($expectedResult, $result);
 }
Ejemplo n.º 2
0
 public function testGetRequestedSoapServices()
 {
     $expectedResult = [['methods' => ['someMethod' => ['method' => 'someMethod', 'inputRequired' => '', 'isSecure' => '', 'resources' => [['Magento_TestModule1::resource1']]]], 'class' => 'Magento\\Framework\\Module\\Service\\FooV1Interface']];
     $result = $this->_soapConfig->getRequestedSoapServices(['moduleFooV1', 'moduleBarV2', 'moduleBazV1']);
     $this->assertEquals($expectedResult, $result);
 }