Skip to content

Commit fc2f9cb

Browse files
committed
Merge branch 'MAGETWO-52746' of github.corp.magento.com:magento-firedrakes/magento2ce into MAGETWO-52746
2 parents e7260f8 + 65c8e18 commit fc2f9cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ public function testInvoke()
4343
];
4444
/** @var \Magento\Sales\Model\Order\Item $orderItem */
4545
foreach ($order->getAllItems() as $orderItem) {
46-
$items[] = [
46+
$items[] = array_merge($orderItem->getData(), [
4747
'order_item_id' => $orderItem->getId(),
4848
'qty' => $orderItem->getQtyInvoiced(),
4949
'price' => $orderItem->getPrice(),
5050
'row_total' => $orderItem->getRowTotal(),
51-
];
51+
'entity_id' => null,
52+
]);
5253
}
5354

5455
$serviceInfo = [

0 commit comments

Comments
 (0)