Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
ENGCOM-4729: graphQl-579: added test coverage for setting disabled sh…
Browse files Browse the repository at this point in the history
…ipping method #582
  • Loading branch information
naydav authored Apr 10, 2019
2 parents 8a4e356 + e7fe6a0 commit b1a1b89
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ public function dataProviderSetShippingMethodWithWrongParameters(): array
}]',
'Could not find a cart with ID "non_existent_masked_id"'
],
'disabled_shipping_method' => [
'cart_id: "cart_id_value", shipping_methods: [{
cart_address_id: cart_address_id_value
carrier_code: "freeshipping"
method_code: "freeshipping"
}]',
'Carrier with such method not found: freeshipping, freeshipping'
]
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,14 @@ public function dataProviderSetShippingMethodWithWrongParameters(): array
}]',
'Could not find a cart with ID "non_existent_masked_id"'
],
'disabled_shipping_method' => [
'cart_id: "cart_id_value", shipping_methods: [{
cart_address_id: cart_address_id_value
carrier_code: "freeshipping"
method_code: "freeshipping"
}]',
'Carrier with such method not found: freeshipping, freeshipping'
],
];
}

Expand Down

0 comments on commit b1a1b89

Please sign in to comment.