multiple test running conflict fix
diff --git a/src/test/java/CollectionRewriteTest.java b/src/test/java/CollectionRewriteTest.java
index c1c88b1..2649d1e 100644
--- a/src/test/java/CollectionRewriteTest.java
+++ b/src/test/java/CollectionRewriteTest.java
@@ -6,6 +6,7 @@
import de.ids_mannheim.korap.resource.rewrite.CollectionConstraint;
import de.ids_mannheim.korap.resource.rewrite.RewriteHandler;
import de.ids_mannheim.korap.utils.JsonUtils;
+import org.junit.AfterClass;
import org.junit.BeforeClass;
/**
@@ -25,6 +26,12 @@
config = BeanConfiguration.getBeans().getConfiguration();
}
+ @AfterClass
+ public static void close() {
+ BeanConfiguration.closeApplication();
+ }
+
+
// @Test
public void testCollectionNodeRemoveCorpusIdNoErrors() {
RewriteHandler handler = new RewriteHandler(config);