Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcain3389 committed Dec 18, 2024
1 parent 44e8559 commit 88c1c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/responses/quotation_fallback_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 88c1c96

Please sign in to comment.