diff --git a/geoportal-common/src/test/java/org/gcube/application/geoportal/common/model/JSONPathTests.java b/geoportal-common/src/test/java/org/gcube/application/geoportal/common/model/JSONPathTests.java index 47dd346..ff9a6a7 100644 --- a/geoportal-common/src/test/java/org/gcube/application/geoportal/common/model/JSONPathTests.java +++ b/geoportal-common/src/test/java/org/gcube/application/geoportal/common/model/JSONPathTests.java @@ -70,7 +70,7 @@ public class JSONPathTests { private void checkPutElement(JSONPathWrapper wrapper, String path, String elementName, Object value){ wrapper.putElement(path,elementName,value); System.out.println("JSON is "+wrapper.getValueCTX().jsonString()); - List> foundElements= wrapper.getByPath(path,Document.class); + List foundElements= wrapper.getByPath(path,Map.class); assertTrue(foundElements!=null); assertTrue(!foundElements.isEmpty());