File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
dev/tests/api-functional/testsuite/Magento/Sales/Service/V1 Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,13 @@ public function testShipmentGet()
6060 foreach ($ data as $ key => $ value ) {
6161 if (!empty ($ value )) {
6262 if ($ key === ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ) {
63- foreach ($ value as $ extensionAttributeKey => $ extensionAttributeValue ) {
63+ foreach ($ value as $ key => $ value ) {
64+ $ simpleObject = $ this ->objectManager ->get (Magento \Framework \Api \SimpleDataObjectConverter::class);
6465 $ methodName = 'get ' .
65- SimpleDataObjectConverter:: snakeCaseToUpperCamelCase ($ extensionAttributeKey );
66+ $ simpleObject -> snakeCaseToUpperCamelCase ($ key );
6667 $ this ->assertEquals (
6768 $ shipment ->getExtensionAttributes ()->$ methodName (),
68- $ extensionAttributeValue
69+ $ value
6970 );
7071 }
7172 } else {
You can’t perform that action at this time.
0 commit comments