mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Adjust completed_order_with_totals to have a distributor so that logic around refreshing shipping rates doesnt fail badly
This commit is contained in:
@@ -118,4 +118,8 @@ FactoryBot.modify do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
factory :completed_order_with_totals do
|
||||
distributor { create(:distributor_enterprise) }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user