Skip to content

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

 - Merge Pull Request magento/graphql-ce#582 from magento/graphql-ce:graphQl-579-set-disabled-shipping-method-test-coverage
 - Merged commits:
   1. 457c522
  • Loading branch information
magento-engcom-team committed Apr 10, 2019
2 parents aec044d + 457c522 commit e7fe6a0
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 e7fe6a0

Please sign in to comment.