diff --git a/History.md b/History.md index 3a6e1c29..ec93baaa 100644 --- a/History.md +++ b/History.md @@ -1,7 +1,7 @@ 2.11.0 ======= -2024-05-15 +2024-05-22 - EN16931 validation 1.3.12 codelists v11 #357 - Fonts removed #358 @@ -13,7 +13,7 @@ - https://github.com/ZUGFeRD/mustangproject/pull/369 - support inputstreams https://github.com/ZUGFeRD/mustangproject/pull/379 - #314 ZUGFeRDInvoiceImporter additional constructur -- add XML cash discount (thisn was previously only possible for XRechnung, not ZF Extended, using a manually encoded setPaymentTermDescription) +- add XML cash discount write support (new class, previously only possible for XRechnung, not ZF Extended, using a manually encoded setPaymentTermDescription) - surrendered to XRechnung 3 compromises, e.g. no longer put gross amount if it does not deviate from net - be able to programmatically access validation messages https://github.com/ZUGFeRD/mustangproject/pull/382 diff --git a/validator/src/test/java/org/mustangproject/validator/XMLValidatorTest.java b/validator/src/test/java/org/mustangproject/validator/XMLValidatorTest.java index 64b113cb..685b0eec 100644 --- a/validator/src/test/java/org/mustangproject/validator/XMLValidatorTest.java +++ b/validator/src/test/java/org/mustangproject/validator/XMLValidatorTest.java @@ -68,9 +68,9 @@ public class XMLValidatorTest extends ResourceCase { xv.validate(); } catch (final IrrecoverableValidationError e) { - noException = false; //expecting a fatal error, i.e. an exception + noException = false; //after corrected dependencies no longer expecting a exception here } - assertFalse(noException); + assertTrue(noException); noException=true;// moving on... assertTrue(xv.getXMLResult().contains("