Skip to content

Commit

Permalink
fix avatax tests for 1739
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Sep 6, 2024
1 parent 121dfa9 commit 5562a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions killbill-integration-tests/plugins/avatax/test_avatax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_manual_commit
first_invoice = all_invoices[0]
assert_equal(first_invoice.status, 'DRAFT')
assert_equal(1, first_invoice.items.size, "Invalid number of invoice items: #{first_invoice.items.size}")
check_invoice_item(first_invoice.items[0], first_invoice.invoice_id, 0, 'USD', 'FIXED', 'sports-monthly', 'sports-monthly-trial', '2020-05-01', nil)
check_invoice_item(first_invoice.items[0], first_invoice.invoice_id, 0, 'USD', 'FIXED', 'sports-monthly', 'sports-monthly-trial', '2020-05-01', '2020-05-31')

# Move clock after trial
kb_clock_add_days(31, nil, @options)
Expand Down Expand Up @@ -131,7 +131,7 @@ def test_adjust_tax_after_repair
all_invoices = check_next_invoice_amount(1, 0, '2020-05-01', @account, @options, &@proc_account_invoices_nb)
first_invoice = all_invoices[0]
assert_equal(1, first_invoice.items.size, "Invalid number of invoice items: #{first_invoice.items.size}")
check_invoice_item(first_invoice.items[0], first_invoice.invoice_id, 0, 'USD', 'FIXED', 'sports-monthly', 'sports-monthly-trial', '2020-05-01', nil)
check_invoice_item(first_invoice.items[0], first_invoice.invoice_id, 0, 'USD', 'FIXED', 'sports-monthly', 'sports-monthly-trial', '2020-05-01', '2020-05-31')

# Move clock after trial
kb_clock_add_days(31, nil, @options)
Expand Down

0 comments on commit 5562a32

Please sign in to comment.