fixed a test... i believe
This commit is contained in:
@@ -247,7 +247,9 @@ public class ZUGFeRDValidatorTest extends ResourceCase {
|
|||||||
assertThat(res).valueByXPath("count(//error)")
|
assertThat(res).valueByXPath("count(//error)")
|
||||||
.asInt()
|
.asInt()
|
||||||
.isEqualTo(0);
|
.isEqualTo(0);
|
||||||
|
assertThat(res).valueByXPath("count(//warning)")
|
||||||
|
.asInt()
|
||||||
|
.isEqualTo(3); // 3 warnings of empty elements
|
||||||
assertThat(res).valueByXPath("count(//notice)")
|
assertThat(res).valueByXPath("count(//notice)")
|
||||||
.asInt()
|
.asInt()
|
||||||
.isEqualTo(9); // 9 notices RE XRechnung 3.0
|
.isEqualTo(9); // 9 notices RE XRechnung 3.0
|
||||||
|
|||||||
Reference in New Issue
Block a user