Skip to content

Commit 756b588

Browse files
authored
Merge pull request #134 from zgyorffi/draft-07
Fix `V7TestSuiteTest` to run the acceptance tests both in collecting …
2 parents 7b489c5 + 85c3356 commit 756b588

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/src/test/java/org/everit/json/schema/V7TestSuiteTest.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,16 @@ public static void stopJetty() throws Exception {
3636

3737
public V7TestSuiteTest(TestCase testcase, String descr) {
3838
this.tc = testcase;
39+
tc.loadSchema(SchemaLoader.builder().draftV7Support());
3940
}
4041

4142
@Test
42-
public void test() {
43-
tc.runTest(SchemaLoader.builder().draftV7Support());
43+
public void testInCollectingMode() {
44+
tc.runTestInCollectingMode();
45+
}
46+
47+
@Test
48+
public void testInEarlyFailingMode() {
49+
tc.runTestInEarlyFailureMode();
4450
}
4551
}

0 commit comments

Comments
 (0)