Fixed cache is not alive in VCReferenceTest.
Change-Id: I318a3606675af2be4b835f1fc472218e9d60d231
diff --git a/full/src/test/java/de/ids_mannheim/korap/web/controller/VCReferenceTest.java b/full/src/test/java/de/ids_mannheim/korap/web/controller/VCReferenceTest.java
index 976a791..342085f 100644
--- a/full/src/test/java/de/ids_mannheim/korap/web/controller/VCReferenceTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/web/controller/VCReferenceTest.java
@@ -19,7 +19,7 @@
testSearchWithoutVCRefOr();
testSearchWithoutVCRefAnd();
// auto caching
- testSearchWithVCRefEqual();
+ testStatisticsWithVCReference();
testSearchWithVCRefNotEqual();
// retrieve from cache
testSearchWithVCRefEqual();
@@ -73,7 +73,6 @@
assertTrue(node.at("/matches").size() > 0);
}
- @Test
public void testStatisticsWithVCReference () throws KustvaktException {
String corpusQuery = "availability = /CC-BY.*/ & referTo named-vc1";
ClientResponse response = resource().path("statistics")
@@ -85,10 +84,4 @@
assertEquals(2, node.at("/documents").asInt());
}
- @Test
- public void testStatisticsWithAutoCachingAndVCReference ()
- throws KustvaktException {
- testSearchWithVCRefEqual();
- testStatisticsWithVCReference();
- }
}