mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
(fix) acceptMatch tests work with new test environment
This commit is contained in:
parent
6aab106075
commit
1790d301b6
2 changed files with 3 additions and 3 deletions
|
|
@ -74,9 +74,8 @@ public class DefaultCheckTest {
|
||||||
final Result doc = this.implementation.checkInput(read(Simple.FOO));
|
final Result doc = this.implementation.checkInput(read(Simple.FOO));
|
||||||
assertThat(doc).isNotNull();
|
assertThat(doc).isNotNull();
|
||||||
assertThat(doc.getReport()).isNotNull();
|
assertThat(doc.getReport()).isNotNull();
|
||||||
// happy case has schematron errors !??
|
assertThat(doc.isAcceptable()).isTrue();
|
||||||
assertThat(doc.isAcceptable()).isFalse();
|
assertThat(doc.getAcceptRecommendation()).isEqualTo(AcceptRecommendation.ACCEPTABLE);
|
||||||
assertThat(doc.getAcceptRecommendation()).isEqualTo(AcceptRecommendation.REJECT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
<foo xmlns="http://validator.kosit.de/test-sample">
|
<foo xmlns="http://validator.kosit.de/test-sample">
|
||||||
<inner>asldkfj</inner>
|
<inner>asldkfj</inner>
|
||||||
|
<content></content>
|
||||||
</foo>
|
</foo>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue