mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
(chore) test with no schematron check / results
This commit is contained in:
parent
fc419495e9
commit
b50bed91d1
1 changed files with 9 additions and 0 deletions
|
|
@ -95,6 +95,15 @@ public class ComputeAcceptanceActionTest {
|
||||||
assertThat(bag.getAcceptStatus()).isEqualTo(AcceptRecommendation.REJECT);
|
assertThat(bag.getAcceptStatus()).isEqualTo(AcceptRecommendation.REJECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testNoSchematronCheck() {
|
||||||
|
final Bag bag = createBag(true, true);
|
||||||
|
// remove schematron results
|
||||||
|
bag.getReportInput().getValidationResultsSchematron().clear();
|
||||||
|
this.action.check(bag);
|
||||||
|
assertThat(bag.getAcceptStatus()).isEqualTo(AcceptRecommendation.ACCEPTABLE);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMissingReport() {
|
public void testMissingReport() {
|
||||||
final Bag bag = createBag(false, true);
|
final Bag bag = createBag(false, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue