Fix date type fail test

1810 can also be another type of value, e.g. integer.

Required by https://korap.ids-mannheim.de/gerrit/c/KorAP/Koral/+/9098
and https://github.com/KorAP/Koral/issues/218

Change-Id: I86aa22a4a3afc58549bdd49e90f66e84024a8a17
diff --git a/src/test/java/de/ids_mannheim/korap/web/controller/StatisticsControllerTest.java b/src/test/java/de/ids_mannheim/korap/web/controller/StatisticsControllerTest.java
index 61499b5..6ddc583 100644
--- a/src/test/java/de/ids_mannheim/korap/web/controller/StatisticsControllerTest.java
+++ b/src/test/java/de/ids_mannheim/korap/web/controller/StatisticsControllerTest.java
@@ -102,7 +102,7 @@
     public void testGetStatisticsWithWrongcorpusQuery2 ()
             throws IOException, KustvaktException {
         Response response = target().path(API_VERSION).path("statistics")
-                .queryParam("cq", "creationDate >= 1810").request().get();
+                .queryParam("cq", "creationDate >= 1810-05").request().get();
         String ent = response.readEntity(String.class);
         assertEquals(Status.BAD_REQUEST.getStatusCode(), response.getStatus());
         JsonNode node = JsonUtils.readTree(ent);