From 791b964a974ab338e74dc20e49e1be797cdf7bb1 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 3 Dec 2018 10:10:55 +0000 Subject: [PATCH] Fixed test git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@174503 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 12 +++++++++--- src/test/java/org/gcube/data/access/fs/TestCall.java | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 30b62a2..6986215 100644 --- a/pom.xml +++ b/pom.xml @@ -29,11 +29,11 @@ - + org.gcube.common gxRest [1.0.0-SNAPSHOT,2.0.0-SNAPSHOT) - + junit junit @@ -91,7 +91,7 @@ org.gcube.core common-generic-clients - + org.slf4j slf4j-api @@ -109,6 +109,12 @@ 1.0.13 test + + commons-io + commons-io + 2.4 + test + diff --git a/src/test/java/org/gcube/data/access/fs/TestCall.java b/src/test/java/org/gcube/data/access/fs/TestCall.java index 92a5217..6ecf76b 100644 --- a/src/test/java/org/gcube/data/access/fs/TestCall.java +++ b/src/test/java/org/gcube/data/access/fs/TestCall.java @@ -144,7 +144,7 @@ public class TestCall { HashMap prop = new HashMap<>(); prop.put("folderProp", "test2"); prop.put("folderProp2", "test2"); - meta.setValues(prop); + meta.setMap(prop); client.setMetadata("8822478a-4fd3-41d5-87de-9ff161d0935e", meta); }