diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/contexts/ContextManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/contexts/ContextManagementTest.java index 77db8b7..a782028 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/contexts/ContextManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/contexts/ContextManagementTest.java @@ -13,7 +13,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException; import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException; import org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException; -import org.gcube.informationsystem.resourceregistry.contexts.ContextUtility; import org.gcube.informationsystem.resourceregistry.contexts.entities.ContextManagement; import org.gcube.informationsystem.resourceregistry.contexts.security.ContextSecurityContext; import org.gcube.informationsystem.resourceregistry.contexts.security.SecurityContext; @@ -422,11 +421,12 @@ public class ContextManagementTest extends ContextTest { /* // @Test public void deleteAll() throws Exception { + ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE); List all = getAll(); while(all.size()>0) { for (Context context : all) { - logger.trace(ISMapper.marshal(context)); - List> children = context.getChildren(); + logger.trace(ElementMapper.marshal(context)); + List children = context.getChildren(); if(children==null || children.size()==0) { // delete(context); }