File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
dev/tests/functional/tests/app/Magento/Sales/Test/Constraint Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class AssertAuthorizationInCommentsHistory extends AbstractConstraint
18
18
/**
19
19
* Pattern of message about authorized amount in order.
20
20
*/
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\-]*"/ ' ;
22
22
23
23
/**
24
24
* Assert that comment about authorized amount exists in Comments History section on order page in Admin.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class AssertCaptureInCommentsHistory extends AbstractConstraint
19
19
/**
20
20
* Pattern of message about captured amount in order.
21
21
*/
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\-]*"/ ' ;
23
23
24
24
/**
25
25
* Assert that comment about captured amount exists in Comments History section on order page in Admin.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class AssertRefundInCommentsHistory extends AbstractConstraint
19
19
/**
20
20
* Pattern of message about refunded amount in order.
21
21
*/
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\-]*"/ ' ;
23
23
24
24
/**
25
25
* Assert that comment about refunded amount exists in Comments History section on order page in Admin.
You can’t perform that action at this time.
0 commit comments