set completed_at on the order used for testing

This commit is contained in:
Mohamed ABDELLANI
2023-10-24 11:53:02 +01:00
parent 1724e1d626
commit 5be8ec0c5a

View File

@@ -22,6 +22,7 @@ describe '
let(:order) do
create(:order_with_totals_and_distribution, user:, distributor:,
completed_at: 1.day.ago,
order_cycle:, state: 'complete',
payment_state: 'balance_due')
end