Fix Line Items controller specs

This commit is contained in:
Gaetan Craig-Riou
2024-03-14 11:12:54 +11:00
parent 2e129eab8f
commit 5b3e79e6c8

View File

@@ -168,7 +168,7 @@ RSpec.describe LineItemsController, type: :controller do
}
let(:enterprise_fee) { create(:enterprise_fee, calculator:) }
let!(:exchange) {
create(:exchange, incoming: true, sender: variant1.product.supplier,
create(:exchange, incoming: true, sender: variant1.supplier,
receiver: order_cycle.coordinator, variants: [variant1, variant2],
enterprise_fees: [enterprise_fee])
}