Do not replace shipping_methods array but push into

This commit is contained in:
Jean-Baptiste Bellet
2022-03-11 14:34:58 +01:00
parent 147d15332c
commit 65596f8467

View File

@@ -65,7 +65,7 @@ describe "As a consumer, I want to checkout my order", js: true do
add_enterprise_fee enterprise_fee
set_order order
distributor.shipping_methods = [free_shipping_with_required_address, free_shipping, shipping_with_fee, free_shipping_without_required_address]
distributor.shipping_methods.push(free_shipping_with_required_address, free_shipping, shipping_with_fee, free_shipping_without_required_address)
end
context "guest checkout when distributor doesn't allow guest orders" do