From 6059f489ef803225838e672d667a04bc19bdb682 Mon Sep 17 00:00:00 2001 From: jstaerk Date: Tue, 20 May 2025 08:26:05 +0200 Subject: [PATCH] corrected a unit test --- History.md | 1 + .../org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index 8470b722..d895cac6 100644 --- a/History.md +++ b/History.md @@ -7,6 +7,7 @@ - #811 - #833 - #835 +- #816 2.16.4 ======= diff --git a/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java b/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java index 6e9ae9c5..3323c168 100644 --- a/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java +++ b/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java @@ -431,7 +431,9 @@ public class ZF2ZInvoiceImporterTest extends ResourceCase { CalculatedInvoice i = new CalculatedInvoice(); zii.extractInto(i); assertEquals("TOSL108", i.getNumber()); - assertEquals("729", i.getGrandTotal().toString()); + assertEquals("1729", i.getGrandTotal().toString()); + assertEquals("729", i.getDuePayable().toString()); + } catch (IOException e) { fail("IOException not expected");