Added some tests to make sure a workaround is not in charge anymore (2)
Change-Id: I611382785eb4fc6b3f18e6e06d003134fec62022
diff --git a/src/test/java/de/ids_mannheim/korap/collection/TestKrillCollectionJSON.java b/src/test/java/de/ids_mannheim/korap/collection/TestKrillCollectionJSON.java
index 0068ac9..546efc9 100644
--- a/src/test/java/de/ids_mannheim/korap/collection/TestKrillCollectionJSON.java
+++ b/src/test/java/de/ids_mannheim/korap/collection/TestKrillCollectionJSON.java
@@ -125,7 +125,7 @@
assertFalse(ks.hasErrors());
assertFalse(ks.hasWarnings());
assertFalse(ks.hasMessages());
- assertEquals("QueryWrapperFilter(author:/Goe#the/)", ks.getCollection().toString());
+ assertEquals("keywords:Goe#the", ks.getCollection().toString());
};
diff --git a/src/test/resources/queries/collections/collection_with_sharp.jsonld b/src/test/resources/queries/collections/collection_with_sharp.jsonld
index 18e8bc8..355cbed 100644
--- a/src/test/resources/queries/collections/collection_with_sharp.jsonld
+++ b/src/test/resources/queries/collections/collection_with_sharp.jsonld
@@ -16,8 +16,7 @@
"collection":{
"value":"Goe#the",
"match":"match:eq",
- "type":"type:regex",
- "key":"author",
+ "key":"keywords",
"@type":"koral:doc"
},
"meta":{