From 5562a32d26ee6af85bfdc024c781717a110b040b Mon Sep 17 00:00:00 2001 From: reshmabidikar Date: Fri, 6 Sep 2024 13:59:50 +0530 Subject: [PATCH] fix avatax tests for 1739 --- killbill-integration-tests/plugins/avatax/test_avatax.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/killbill-integration-tests/plugins/avatax/test_avatax.rb b/killbill-integration-tests/plugins/avatax/test_avatax.rb index 79cc033..75ec893 100644 --- a/killbill-integration-tests/plugins/avatax/test_avatax.rb +++ b/killbill-integration-tests/plugins/avatax/test_avatax.rb @@ -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) @@ -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)