From 5b2bbf94c25e9ce0073757fe9793e8c3b9b2d56b Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Wed, 16 Feb 2022 11:50:43 +0100 Subject: [PATCH] Fixed test --- .../gcube/application/geoportal/common/model/JSONPathTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());