Fixed test

git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@174503 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-12-03 10:10:55 +00:00
parent 0ec7ab1ed2
commit 791b964a97
2 changed files with 10 additions and 4 deletions

12
pom.xml
View File

@ -29,11 +29,11 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>gxRest</artifactId> <artifactId>gxRest</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version> <version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
@ -91,7 +91,7 @@
<groupId>org.gcube.core</groupId> <groupId>org.gcube.core</groupId>
<artifactId>common-generic-clients</artifactId> <artifactId>common-generic-clients</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
@ -109,6 +109,12 @@
<version>1.0.13</version> <version>1.0.13</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>

View File

@ -144,7 +144,7 @@ public class TestCall {
HashMap<String, Object> prop = new HashMap<>(); HashMap<String, Object> prop = new HashMap<>();
prop.put("folderProp", "test2"); prop.put("folderProp", "test2");
prop.put("folderProp2", "test2"); prop.put("folderProp2", "test2");
meta.setValues(prop); meta.setMap(prop);
client.setMetadata("8822478a-4fd3-41d5-87de-9ff161d0935e", meta); client.setMetadata("8822478a-4fd3-41d5-87de-9ff161d0935e", meta);
} }