File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Guest Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -113,29 +113,28 @@ public function testSetMultipleShippingMethods()
113
113
* @param string $maskedQuoteId
114
114
* @param string $shippingMethodCode
115
115
* @param string $shippingCarrierCode
116
- * @param string $shippingAddressId
116
+ * @param int $shippingAddressId
117
117
* @return string
118
118
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
119
119
*/
120
120
private function prepareMutationQuery (
121
121
string $ maskedQuoteId ,
122
122
string $ shippingMethodCode ,
123
123
string $ shippingCarrierCode ,
124
- string $ shippingAddressId
124
+ int $ shippingAddressId
125
125
) : string {
126
126
return <<<QUERY
127
127
mutation {
128
128
setShippingMethodsOnCart(input:
129
129
{
130
130
cart_id: " $ maskedQuoteId",
131
- shipping_addresses : [{
131
+ shipping_methods : [{
132
132
cart_address_id: $ shippingAddressId
133
- shipping_method: {
134
- method_code: " $ shippingMethodCode"
135
- carrier_code: " $ shippingCarrierCode"
136
- }
133
+ carrier_code: " $ shippingCarrierCode"
134
+ method_code: " $ shippingMethodCode"
137
135
}]
138
- }) {
136
+ }) {
137
+
139
138
cart {
140
139
shipping_addresses {
141
140
selected_shipping_method {
You can’t perform that action at this time.
0 commit comments