mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix customer report specs
This commit is contained in:
@@ -209,7 +209,7 @@ module Reporting
|
||||
|
||||
describe "fetching orders" do
|
||||
let(:supplier) { create(:supplier_enterprise) }
|
||||
let(:product) { create(:simple_product, supplier:) }
|
||||
let(:product) { create(:simple_product, supplier_id: supplier.id) }
|
||||
let(:order) { create(:order, completed_at: 1.day.ago) }
|
||||
|
||||
it "only shows orders managed by the current user" do
|
||||
|
||||
Reference in New Issue
Block a user