Skip to content

Commit 504f49d

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

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AssertAuthorizationInCommentsHistory extends AbstractConstraint
1818
/**
1919
* Pattern of message about authorized amount in order.
2020
*/
21-
const AUTHORIZED_AMOUNT_PATTERN = '/(IPN "Pending" )*Authorized amount of \w*\W{1,2}%s. Transaction ID: "[\w\-]*"/';
21+
const AUTHORIZED_AMOUNT_PATTERN = '/(IPN "Pending" )*Authorized amount of .+?%s. Transaction ID: "[\w\-]*"/';
2222

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

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?\W%s online\. Transaction ID: "[\w\-]*"/';
22+
const CAPTURED_AMOUNT_PATTERN = '/^Captured amount of .+?%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/Constraint/AssertRefundInCommentsHistory.php

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

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

0 commit comments

Comments
 (0)