Skip to content

Commit

Permalink
cosmetic change in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaskhilkevich committed Aug 13, 2024
1 parent 7ea0ba6 commit 2538c47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ public void testTaxItemDetailsWhenUsageDetailsExists() throws Exception {

//when
List<InvoiceItem> result = vertexTaxCalculator.compute(account, invoice, true, Collections.emptyList(), tenantContext);

final ObjectMapper objectMapper = new ObjectMapper();
final JsonNode expectedNode = objectMapper.readTree(expectedItemDetailsWithTaxRate);
final JsonNode actualNode = objectMapper.readTree(result.get(0).getItemDetails());

//then
assertEquals(expectedNode, actualNode);
}

Expand Down

0 comments on commit 2538c47

Please sign in to comment.