Skip to content

Commit efd8480

Browse files
committed
magento/graphql-ce#679: Add support of "Allow Guest Checkout" option
1 parent 64e3de5 commit efd8480

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function dataProviderUpdateWithMissedRequiredParameters(): array
239239
'Required parameter "cart_id" is missing'
240240
],
241241
'missed_coupon_code' => [
242-
'cart_id: "test"',
242+
'cart_id: "test_quote"',
243243
'Required parameter "coupon_code" is missing'
244244
],
245245
];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function dataProviderUpdateWithMissedRequiredParameters(): array
128128
'Required parameter "cart_id" is missing.'
129129
],
130130
'missed_cart_item_id' => [
131-
'cart_id: "test"',
131+
'cart_id: "test_quote"',
132132
'Required parameter "cart_item_id" is missing.'
133133
],
134134
];

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ public function dataProviderSetPaymentMethodWithoutRequiredParameters(): array
235235
'Required parameter "cart_id" is missing.'
236236
],
237237
'missed_payment_method' => [
238-
'cart_id: "test"',
238+
'cart_id: "test_quote"',
239239
'Required parameter "code" for "payment_method" is missing.'
240240
],
241241
'missed_payment_method_code' => [
242-
'cart_id: "test", payment_method: {code: ""}',
242+
'cart_id: "test_quote", payment_method: {code: ""}',
243243
'Required parameter "code" for "payment_method" is missing.'
244244
],
245245
];

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest/ApplyCouponToCartTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function dataProviderUpdateWithMissedRequiredParameters(): array
203203
'Required parameter "cart_id" is missing'
204204
],
205205
'missed_coupon_code' => [
206-
'cart_id: "test"',
206+
'cart_id: "test_quote"',
207207
'Required parameter "coupon_code" is missing'
208208
],
209209
];

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest/RemoveItemFromCartTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function dataProviderUpdateWithMissedRequiredParameters(): array
117117
'Required parameter "cart_id" is missing.'
118118
],
119119
'missed_cart_item_id' => [
120-
'cart_id: "test"',
120+
'cart_id: "test_quote"',
121121
'Required parameter "cart_item_id" is missing.'
122122
],
123123
];

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest/SetPaymentMethodOnCartTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ public function dataProviderSetPaymentMethodWithoutRequiredParameters(): array
185185
'Required parameter "cart_id" is missing.'
186186
],
187187
'missed_payment_method' => [
188-
'cart_id: "test"',
188+
'cart_id: "test_quote"',
189189
'Required parameter "code" for "payment_method" is missing.'
190190
],
191191
'missed_payment_method_code' => [
192-
'cart_id: "test", payment_method: {code: ""}',
192+
'cart_id: "test_quote", payment_method: {code: ""}',
193193
'Required parameter "code" for "payment_method" is missing.'
194194
],
195195
];

0 commit comments

Comments
 (0)