Skip to content

Commit a0fa6fd

Browse files
author
Oleksandr Manchenko
committed
MTA-2657: Sync qmt repository with mainline - Sprint 20
- Fixed logical errors
1 parent 1b11bab commit a0fa6fd

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Sales/Test/Handler/OrderInjectable

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Handler/OrderInjectable/Webapi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ protected function setAddress(OrderInjectable $order, $addressType)
173173
}
174174
unset($address['default_billing']);
175175
unset($address['default_shipping']);
176-
foreach (array_values($this->mappingData) as $key) {
176+
foreach (array_keys($this->mappingData) as $key) {
177177
if (isset($address[$key])) {
178178
$address[$key] = $this->mappingData[$key][$address[$key]];
179179
}

0 commit comments

Comments
 (0)