Fix darkswarm caching system spec

This commit is contained in:
Gaetan Craig-Riou
2024-05-22 12:07:09 +10:00
parent 9b879da616
commit a2de846f2c

View File

@@ -11,7 +11,7 @@ RSpec.describe "Darkswarm data caching", caching: true do
create(:distributor_enterprise, with_payment_and_shipping: true, is_primary_producer: true)
}
let!(:product) {
create(:simple_product, supplier: producer, primary_taxon: taxon,
create(:simple_product, supplier_id: producer.id, primary_taxon: taxon,
properties: [property])
}
let!(:order_cycle) {