We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d2358 commit 77390a4Copy full SHA for 77390a4
src/test/java/com/networknt/schema/Issue451Test.java
@@ -7,7 +7,7 @@
7
import com.networknt.schema.walk.WalkFlow;
8
import org.junit.jupiter.api.AfterEach;
9
import org.junit.jupiter.api.Assertions;
10
-import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.BeforeAll;
11
import org.junit.jupiter.api.Test;
12
13
import java.io.InputStream;
@@ -34,8 +34,19 @@ protected JsonNode getJsonNodeFromStreamContent(InputStream content) throws Exce
34
return mapper.readTree(content);
35
}
36
37
+
38
+ @BeforeAll
39
+ public static void beforeAll() {
40
+ reset();
41
+ }
42
43
@AfterEach
44
public void cleanup() {
45
46
47
48
49
+ private static void reset() {
50
if (CollectorContext.getInstance() != null) {
51
CollectorContext.getInstance().reset();
52
0 commit comments