Skip to content

Commit 691c86d

Browse files
committed
MTA-4121: [FT] Magento\Sales\Test\TestCase\CreateOnlineInvoiceEntityTest
1 parent f1dc91b commit 691c86d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertCaptureInCommentsHistory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AssertCaptureInCommentsHistory extends AbstractConstraint
1919
/**
2020
* Pattern of message about captured amount in order.
2121
*/
22-
const CAPTURED_AMOUNT_PATTERN = '/^Captured amount of [\W]{1,2}%s online\. Transaction ID: "[\w\-]*"/';
22+
const CAPTURED_AMOUNT_PATTERN = '/^Captured amount of \w?\W%s online\. Transaction ID: "[\w\-]*"/';
2323

2424
/**
2525
* Assert that comment about captured amount exists in Comments History section on order page in Admin.

dev/tests/functional/tests/app/Magento/Sales/Test/Repository/OrderInjectable/Invoice.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@
6262
<item name="comment_text" xsi:type="string">Partial Invoice with changed qty = 0</item>
6363
</item>
6464
</field>
65-
<field name="1" xsi:type="array">
66-
<item name="form_data" xsi:type="array">
67-
<item name="do_shipment" xsi:type="string">No</item>
68-
<item name="comment_text" xsi:type="string">Partial Invoice to the rest of order items</item>
69-
</item>
70-
</field>
7165
</dataset>
7266
</repository>
7367
</config>

0 commit comments

Comments
 (0)