Skip to content

Commit 471b64a

Browse files
committed
Reverting back the AC-14889 changes due to PAT failures
1 parent 40f8c63 commit 471b64a

File tree

2 files changed

+2
-319
lines changed

2 files changed

+2
-319
lines changed

app/code/Magento/SalesGraphQl/Model/OrderItem/DataProvider.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2020 Adobe
3+
* Copyright 2020 Adobe.
44
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
@@ -243,8 +243,7 @@ private function getDiscountDetails(OrderInterface $associatedOrder, OrderItemIn
243243
'amount' => [
244244
'value' => abs((float) $orderItem->getDiscountAmount()),
245245
'currency' => $associatedOrder->getOrderCurrencyCode()
246-
],
247-
'order_model' => $associatedOrder,
246+
]
248247
];
249248
}
250249
return $discounts;

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/CustomerOrdersCouponTest.php

Lines changed: 0 additions & 316 deletions
This file was deleted.

0 commit comments

Comments
 (0)