Skip to content

Commit d7a5379

Browse files
author
Roman Glushko
committed
#481 Added comments
1 parent 36d8c88 commit d7a5379

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/RemoveCouponFromCartTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function testRemoveCouponFromCart()
5858
{
5959
$couponCode = '2?ds5!2d';
6060

61-
/* Apply coupon to the quote */
61+
/* Apply coupon to the customer quote */
6262
$this->quoteResource->load(
6363
$this->quote,
6464
'test_order_with_simple_product_without_address',
@@ -73,7 +73,7 @@ public function testRemoveCouponFromCart()
7373
$query = $this->prepareAddCouponRequestQuery($maskedQuoteId, $couponCode);
7474
$this->graphQlQuery($query, [], '', $queryHeaders);
7575

76-
/* Remove coupon from quote */
76+
/* Remove coupon from the quote */
7777
$query = $this->prepareRemoveCouponRequestQuery($maskedQuoteId);
7878
$response = $this->graphQlQuery($query, [], '', $queryHeaders);
7979

@@ -90,7 +90,7 @@ public function testRemoveCouponFromAonotherCustomerCart()
9090
{
9191
$couponCode = '2?ds5!2d';
9292

93-
/* Apply coupon to the quote */
93+
/* Apply coupon to the first customer quote */
9494
$this->quoteResource->load(
9595
$this->quote,
9696
'test_order_with_simple_product_without_address',
@@ -105,7 +105,7 @@ public function testRemoveCouponFromAonotherCustomerCart()
105105
$queryHeaders = $this->prepareAuthorizationHeaders('customer@example.com', 'password');
106106
$this->graphQlQuery($query, [], '', $queryHeaders);
107107

108-
/* Remove coupon from quote */
108+
/* Remove coupon from the quote from the second customer */
109109
$query = $this->prepareRemoveCouponRequestQuery($maskedQuoteId);
110110
$queryHeaders = $this->prepareAuthorizationHeaders('customer_two@example.com', 'password');
111111

@@ -122,7 +122,7 @@ public function testRemoveCouponFromGuestCart()
122122
{
123123
$couponCode = '2?ds5!2d';
124124

125-
/* Apply coupon to the quote */
125+
/* Apply coupon to the guest quote */
126126
$this->quoteResource->load(
127127
$this->quote,
128128
'test_order_with_simple_product_without_address',
@@ -136,7 +136,7 @@ public function testRemoveCouponFromGuestCart()
136136
/* Remove coupon from quote */
137137
$query = $this->prepareRemoveCouponRequestQuery($maskedQuoteId);
138138
$queryHeaders = $this->prepareAuthorizationHeaders('customer@example.com', 'password');
139-
139+
140140
$this->expectExceptionMessage("The current user cannot perform operations on cart \"$maskedQuoteId\"");
141141
$this->graphQlQuery($query, [], '', $queryHeaders);
142142
}

0 commit comments

Comments
 (0)