We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7260f8 + 65c8e18 commit fc2f9cbCopy full SHA for fc2f9cb
dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/CreditMemoCreateRefundTest.php
@@ -43,12 +43,13 @@ public function testInvoke()
43
];
44
/** @var \Magento\Sales\Model\Order\Item $orderItem */
45
foreach ($order->getAllItems() as $orderItem) {
46
- $items[] = [
+ $items[] = array_merge($orderItem->getData(), [
47
'order_item_id' => $orderItem->getId(),
48
'qty' => $orderItem->getQtyInvoiced(),
49
'price' => $orderItem->getPrice(),
50
'row_total' => $orderItem->getRowTotal(),
51
- ];
+ 'entity_id' => null,
52
+ ]);
53
}
54
55
$serviceInfo = [
0 commit comments