Skip to content

Commit

Permalink
set completed_at on the order used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Oct 24, 2023
1 parent 2669cfa commit 5ea5218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/system/admin/invoice_print_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

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
Expand Down

0 comments on commit 5ea5218

Please sign in to comment.