File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed
dev/tests/functional/tests/app/Magento
Braintree/Test/Constraint Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ public function toString()
70
70
}
71
71
72
72
/**
73
- * Get transaction id from order comments
73
+ * Get transaction id from order comments.
74
74
*
75
- * @return mixed
75
+ * @return null|string
76
76
*/
77
77
private function getTransactionId ()
78
78
{
Original file line number Diff line number Diff line change 10
10
use Magento \Sales \Test \Page \Adminhtml \SalesOrderView ;
11
11
12
12
/**
13
- * Assert that accept payment message exist in Comments History section on order page in Admin.
13
+ * Assert that accept payment message exists in Comments History section on order page in Admin.
14
14
*
15
15
*/
16
16
class AssertAcceptPaymentMessageInCommentsHistory extends AbstractConstraint
@@ -23,7 +23,7 @@ class AssertAcceptPaymentMessageInCommentsHistory extends AbstractConstraint
23
23
private static $ message = 'Approved the payment online. ' ;
24
24
25
25
/**
26
- * Assert that accept payment message exist in Comments History section on order page in Admin.
26
+ * Assert that accept payment message exists in Comments History section on order page in Admin.
27
27
*
28
28
* @param SalesOrderView $salesOrderView
29
29
* @param OrderIndex $orderIndex
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class AssertAuthorizationInCommentsHistory extends AbstractConstraint
21
21
const AUTHORIZED_AMOUNT_PATTERN = '/(IPN "Pending" )*Authorized amount of \w*\W{1,2}%s. Transaction ID: "[\w\-]*"/ ' ;
22
22
23
23
/**
24
- * Assert that comment about authorized amount exist in Comments History section on order page in Admin.
24
+ * Assert that comment about authorized amount exists in Comments History section on order page in Admin.
25
25
*
26
26
* @param SalesOrderView $salesOrderView
27
27
* @param OrderIndex $salesOrder
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class AssertCaptureInCommentsHistory extends AbstractConstraint
22
22
const CAPTURED_AMOUNT_PATTERN = '/^Captured amount of \w*\W{1,2}%s online. Transaction ID: "[\w\-]*"/ ' ;
23
23
24
24
/**
25
- * Assert that comment about captured amount exist in Comments History section on order page in Admin.
25
+ * Assert that comment about captured amount exists in Comments History section on order page in Admin.
26
26
*
27
27
* @param SalesOrderView $salesOrderView
28
28
* @param OrderIndex $salesOrder
Original file line number Diff line number Diff line change 10
10
use Magento \Sales \Test \Page \Adminhtml \SalesOrderView ;
11
11
12
12
/**
13
- * Assert that deny payment message exist in Comments History section on order page in Admin.
13
+ * Assert that deny payment message exists in Comments History section on order page in Admin.
14
14
*
15
15
* Constraint checks deny payment message in order comments history
16
16
*/
@@ -24,7 +24,7 @@ class AssertDenyPaymentMessageInCommentsHistory extends AbstractConstraint
24
24
private static $ message = 'Denied the payment online ' ;
25
25
26
26
/**
27
- * Assert that deny payment message exist in Comments History section on order page in Admin.
27
+ * Assert that deny payment message exists in Comments History section on order page in Admin.
28
28
*
29
29
* @param SalesOrderView $salesOrderView
30
30
* @param OrderIndex $orderIndex
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class AssertRefundInCommentsHistory extends AbstractConstraint
21
21
const REFUNDED_AMOUNT_PATTERN = '/^We refunded \w*\W{1,2}%s online. Transaction ID: "[\w\-]*"/ ' ;
22
22
23
23
/**
24
- * Assert that comment about refunded amount exist in Comments History section on order page in Admin.
24
+ * Assert that comment about refunded amount exists in Comments History section on order page in Admin.
25
25
*
26
26
* @param SalesOrderView $salesOrderView
27
27
* @param OrderIndex $salesOrder
Original file line number Diff line number Diff line change 11
11
use Magento \Sales \Test \Fixture \OrderInjectable ;
12
12
13
13
/**
14
- * Assert that comment with correct order status exist in Comments History section on order page in Admin.
14
+ * Assert that comment with correct order status exists in Comments History section on order page in Admin.
15
15
*/
16
16
class AssertRefundOrderStatusInCommentsHistory extends AbstractConstraint
17
17
{
18
18
/**
19
- * Assert that comment with correct order status exist in Comments History section on order page in Admin.
19
+ * Assert that comment with correct order status exists in Comments History section on order page in Admin.
20
20
*
21
21
* @param SalesOrderView $salesOrderView
22
22
* @param OrderIndex $salesOrder
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class AssertVoidInCommentsHistory extends AbstractConstraint
21
21
const VOIDED_AMOUNT = 'Voided authorization. Amount: $ ' ;
22
22
23
23
/**
24
- * Assert that comment about voided amount exist in Comments History section on order page in Admin.
24
+ * Assert that comment about voided amount exists in Comments History section on order page in Admin.
25
25
*
26
26
* @param SalesOrderView $salesOrderView
27
27
* @param OrderIndex $salesOrder
You can’t perform that action at this time.
0 commit comments