mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
Fix checkout auth system spec
This commit is contained in:
@@ -17,7 +17,7 @@ RSpec.describe "As a consumer I want to check out my cart" do
|
||||
coordinator: create(:distributor_enterprise),
|
||||
variants: [product.variants.first])
|
||||
}
|
||||
let(:product) { create(:simple_product, supplier:) }
|
||||
let(:product) { create(:simple_product, supplier_id: supplier.id) }
|
||||
let(:order) { create(:order, order_cycle:, distributor:) }
|
||||
let(:address) { create(:address, firstname: "Foo", lastname: "Bar") }
|
||||
let(:user) { create(:user, bill_address: address, ship_address: address) }
|
||||
|
||||
Reference in New Issue
Block a user