Skip to content

Commit a766e52

Browse files
committed
MAGETWO-35264: Unable to request Soap service without plugging in CustomAttributeMap config
- Added class description and Fixed typos
1 parent e9d37df commit a766e52

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app/code/Magento/Eav/Model/EavCustomAttributeTypeLocator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Magento\Framework\Exception\NoSuchEntityException;
1111
use Magento\Framework\Webapi\CustomAttributeTypeLocatorInterface;
1212

13+
/**
14+
* Class to locate types for Eav custom attributes
15+
*/
1316
class EavCustomAttributeTypeLocator implements CustomAttributeTypeLocatorInterface
1417
{
1518
/**

app/code/Magento/Eav/Test/Unit/Model/EavCustomAttributeTypeLocatorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ public function testGetAllServiceDataInterfaceEmpty()
157157
public function testGetAllServiceDataInterface()
158158
{
159159
$serviceBackendModelDataInterfaceMapData = [
160-
'ServiceA' => ['BackedA' => 'ServiceDataInterfaceA'],
161-
'ServiceB' => ['BackedB' => 'ServiceDataInterfaceB', 'BackedC' => 'ServiceDataInterfaceC'],
162-
'ServiceC' => ['BackedD' => 'ServiceDataInterfaceD']
160+
'ServiceA' => ['BackendA' => 'ServiceDataInterfaceA'],
161+
'ServiceB' => ['BackendB' => 'ServiceDataInterfaceB', 'BackendC' => 'ServiceDataInterfaceC'],
162+
'ServiceC' => ['BackendD' => 'ServiceDataInterfaceD']
163163
];
164164
$this->eavCustomAttributeTypeLocator = new EavCustomAttributeTypeLocator(
165165
$this->attributeRepository, [], $serviceBackendModelDataInterfaceMapData

0 commit comments

Comments
 (0)