Skip to content

Commit 88b669a

Browse files
author
Prabhu Ram
committed
PWA: 1729 - fixing random failure with ordering of comments
1 parent 5aabebb commit 88b669a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ public function testCreditMemoForLoggedInCustomerQuery(): void
8989
$expectedCreditMemoData = [
9090
[
9191
'comments' => [
92-
['message' => 'some_comment'],
93-
['message' => 'some_other_comment']
92+
['message' => 'some_comment']
9493
],
9594
'items' => [
9695
[

dev/tests/integration/testsuite/Magento/Sales/_files/customer_creditmemo_with_two_items.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
$creditMemo->setAdjustment(1.23);
3030
$creditMemo->setBaseGrandTotal(10);
3131
$creditMemo->addComment('some_comment', false, true);
32-
$creditMemo->addComment('some_other_comment', false, true);
3332
$creditMemo->addComment('not_visible', false, false);
3433

3534
$creditMemoService->refund($creditMemo);

0 commit comments

Comments
 (0)