mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +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);
|
||||
}
|
||||
|
||||
@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
|
||||
public void testMissingReport() {
|
||||
final Bag bag = createBag(false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue