File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testGetOwnCartForRegisteredCustomer()
70
70
71
71
self ::assertArrayHasKey ('Cart ' , $ response );
72
72
self ::assertNotEmpty ($ response ['Cart ' ]['items ' ]);
73
- self ::assertNotEmpty ($ response ['Cart ' ]['addresses ' ]);
73
+ self ::assertNotEmpty ($ response ['Cart ' ]['shipping_addresses ' ]);
74
74
}
75
75
76
76
/**
@@ -141,10 +141,9 @@ private function prepareGetCartQuery(
141
141
items {
142
142
id
143
143
}
144
- addresses {
144
+ shipping_addresses {
145
145
firstname,
146
- lastname,
147
- address_type
146
+ lastname
148
147
}
149
148
}
150
149
}
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function testSetShippingMethodOnCart()
79
79
self ::assertArrayHasKey ('setShippingMethodsOnCart ' , $ response );
80
80
self ::assertArrayHasKey ('cart ' , $ response ['setShippingMethodsOnCart ' ]);
81
81
self ::assertEquals ($ maskedQuoteId , $ response ['setShippingMethodsOnCart ' ]['cart ' ]['cart_id ' ]);
82
- $ addressesInformation = $ response ['setShippingMethodsOnCart ' ]['cart ' ]['addresses ' ];
82
+ $ addressesInformation = $ response ['setShippingMethodsOnCart ' ]['cart ' ]['shipping_addresses ' ];
83
83
self ::assertCount (2 , $ addressesInformation );
84
84
self ::assertEquals (
85
85
$ addressesInformation [0 ]['selected_shipping_method ' ]['code ' ],
@@ -221,7 +221,7 @@ private function prepareMutationQuery(
221
221
222
222
cart {
223
223
cart_id,
224
- addresses {
224
+ shipping_addresses {
225
225
selected_shipping_method {
226
226
code
227
227
label
You can’t perform that action at this time.
0 commit comments