Skip to content

Commit 039e71c

Browse files
committed
Revert "Fixed coding standard error"
This reverts commit 1555b96.
1 parent 1555b96 commit 039e71c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/ShipmentGetTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)