From 279625a541c2e7debdab352b98827805a67740ae Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Tue, 11 Oct 2016 08:05:48 +0000 Subject: [PATCH] one more junit test added git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@133015 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../ckanutillibrary/TestDataCatalogueLib.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/java/org/gcube/datacatalogue/ckanutillibrary/TestDataCatalogueLib.java b/src/test/java/org/gcube/datacatalogue/ckanutillibrary/TestDataCatalogueLib.java index 96cd2b6..3761486 100644 --- a/src/test/java/org/gcube/datacatalogue/ckanutillibrary/TestDataCatalogueLib.java +++ b/src/test/java/org/gcube/datacatalogue/ckanutillibrary/TestDataCatalogueLib.java @@ -302,5 +302,15 @@ public class TestDataCatalogueLib { // } // } } + + //@Test + public void testGroupAssociation() throws Exception{ + + DataCatalogueImpl instance = factory.getUtilsPerScope(scope); + String datasetId = "test_grsf_group_stock_groups_sadsad"; + String groupName = "assessment-unit"; + instance.assignDatasetToGroup(groupName, datasetId, instance.getApiKeyFromUsername("costantino_perciante")); + + } }