Skip to content

Commit b8960ac

Browse files
committed
MAGETWO-31901: Implement Attributes Mapping to Data Interfaces
- Fixed Unit test dependencies
1 parent 47722ae commit b8960ac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev/tests/unit/testsuite/Magento/Webapi/Model/Config/ClassReflectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function _getSampleReflectionData()
8282
],
8383
'out' => [
8484
'parameters' => [
85-
'result' => ['type' => 'str', 'documentation' => 'random string', 'required' => true],
85+
'result' => ['type' => 'string', 'documentation' => 'random string', 'required' => true],
8686
],
8787
],
8888
]

dev/tests/unit/testsuite/Magento/Webapi/Model/Soap/Wsdl/GeneratorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ protected function setUp()
9696
'wsdlFactory' => $this->_wsdlFactoryMock,
9797
'cache' => $this->_cacheMock,
9898
'typeProcessor' => $this->_typeProcessor,
99-
'storeManagerMock' => $this->storeManagerMock
99+
'storeManagerMock' => $this->storeManagerMock,
100+
'customAttributeMap' => new \Magento\Framework\Api\CustomAttributeMap()
100101
]
101102
);
102103

@@ -190,6 +191,7 @@ public function testHandleWithException()
190191
$this->_cacheMock,
191192
$this->_typeProcessor,
192193
$this->storeManagerMock,
194+
new \Magento\Framework\Api\CustomAttributeMap()
193195
]
194196
)->getMock();
195197

0 commit comments

Comments
 (0)