mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Merge branch 'branch-1.2.x'
This commit is contained in:
commit
911a4215f4
1 changed files with 9 additions and 0 deletions
|
|
@ -80,6 +80,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