@@ -58,7 +58,7 @@ public function testRemoveCouponFromCart()
58
58
{
59
59
$ couponCode = '2?ds5!2d ' ;
60
60
61
- /* Apply coupon to the quote */
61
+ /* Apply coupon to the customer quote */
62
62
$ this ->quoteResource ->load (
63
63
$ this ->quote ,
64
64
'test_order_with_simple_product_without_address ' ,
@@ -73,7 +73,7 @@ public function testRemoveCouponFromCart()
73
73
$ query = $ this ->prepareAddCouponRequestQuery ($ maskedQuoteId , $ couponCode );
74
74
$ this ->graphQlQuery ($ query , [], '' , $ queryHeaders );
75
75
76
- /* Remove coupon from quote */
76
+ /* Remove coupon from the quote */
77
77
$ query = $ this ->prepareRemoveCouponRequestQuery ($ maskedQuoteId );
78
78
$ response = $ this ->graphQlQuery ($ query , [], '' , $ queryHeaders );
79
79
@@ -90,7 +90,7 @@ public function testRemoveCouponFromAonotherCustomerCart()
90
90
{
91
91
$ couponCode = '2?ds5!2d ' ;
92
92
93
- /* Apply coupon to the quote */
93
+ /* Apply coupon to the first customer quote */
94
94
$ this ->quoteResource ->load (
95
95
$ this ->quote ,
96
96
'test_order_with_simple_product_without_address ' ,
@@ -105,7 +105,7 @@ public function testRemoveCouponFromAonotherCustomerCart()
105
105
$ queryHeaders = $ this ->prepareAuthorizationHeaders ('customer@example.com ' , 'password ' );
106
106
$ this ->graphQlQuery ($ query , [], '' , $ queryHeaders );
107
107
108
- /* Remove coupon from quote */
108
+ /* Remove coupon from the quote from the second customer */
109
109
$ query = $ this ->prepareRemoveCouponRequestQuery ($ maskedQuoteId );
110
110
$ queryHeaders = $ this ->prepareAuthorizationHeaders ('customer_two@example.com ' , 'password ' );
111
111
@@ -122,7 +122,7 @@ public function testRemoveCouponFromGuestCart()
122
122
{
123
123
$ couponCode = '2?ds5!2d ' ;
124
124
125
- /* Apply coupon to the quote */
125
+ /* Apply coupon to the guest quote */
126
126
$ this ->quoteResource ->load (
127
127
$ this ->quote ,
128
128
'test_order_with_simple_product_without_address ' ,
@@ -136,7 +136,7 @@ public function testRemoveCouponFromGuestCart()
136
136
/* Remove coupon from quote */
137
137
$ query = $ this ->prepareRemoveCouponRequestQuery ($ maskedQuoteId );
138
138
$ queryHeaders = $ this ->prepareAuthorizationHeaders ('customer@example.com ' , 'password ' );
139
-
139
+
140
140
$ this ->expectExceptionMessage ("The current user cannot perform operations on cart \"$ maskedQuoteId \"" );
141
141
$ this ->graphQlQuery ($ query , [], '' , $ queryHeaders );
142
142
}
0 commit comments