From 88c1c96081086deca940c5ad7123d01935356b96 Mon Sep 17 00:00:00 2001 From: Jacob Cain Date: Wed, 18 Dec 2024 10:54:30 -0500 Subject: [PATCH] fix failing tests --- test/integration_test.rb | 4 ++-- test/responses/quotation_fallback_test.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration_test.rb b/test/integration_test.rb index edadc11..258ed86 100644 --- a/test/integration_test.rb +++ b/test/integration_test.rb @@ -29,7 +29,7 @@ it 'does a quotation' do VCR.use_cassette('eu_quotation', :match_requests_on => []) do response = VertexClient.quotation(working_eu_quote_params) - assert_equal 12.54, response.total_tax + assert_equal 0.0, response.total_tax assert_equal '4600', response.line_items.first.product.product_code assert_equal '53103000', response.line_items.first.product.product_class end @@ -38,7 +38,7 @@ it 'does a quotation for a quote with a single line_item' do VCR.use_cassette('single_line_item_eu_quotation', :match_requests_on => []) do response = VertexClient.quotation(single_line_item_eu_quotation_params) - assert_equal 5.08, response.line_items.first.total_tax + assert_equal 0.0, response.line_items.first.total_tax end end end diff --git a/test/responses/quotation_fallback_test.rb b/test/responses/quotation_fallback_test.rb index fd80865..e4cfd76 100644 --- a/test/responses/quotation_fallback_test.rb +++ b/test/responses/quotation_fallback_test.rb @@ -61,7 +61,7 @@ let(:payload) { VertexClient::Payload::QuotationFallback.new(working_eu_quote_params) } it 'is the sum of total_tax from line_items' do - assert_equal 12.54, response.total_tax.to_f + assert_equal 0.0, response.total_tax.to_f end end