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