diff --git a/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java b/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java index 2b050ab..4959dbf 100644 --- a/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java +++ b/src/test/java/org/gcube/dataharvest/AccountingDataHarvesterPluginTest.java @@ -40,6 +40,7 @@ import org.gcube.vremanagement.executor.api.types.Scheduling; import org.gcube.vremanagement.executor.client.SmartExecutorClient; import org.gcube.vremanagement.executor.client.SmartExecutorClientFactory; import org.junit.Assert; +import org.junit.Test; import org.quartz.CronExpression; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -562,7 +563,6 @@ public class AccountingDataHarvesterPluginTest extends ContextTest { } protected AccountingDao getAccountingDao() throws ObjectNotFound, Exception { - ContextTest.setContextByName(ROOT); AccountingDao dao = AccountingDao.get(); Set scopeDescriptorSet = dao.getContexts(); @@ -730,11 +730,11 @@ public class AccountingDataHarvesterPluginTest extends ContextTest { } } - // @Test + @Test public void testCatalogueHarvester() { try { - String context = "/gcube"; + String context = ROOT; //"/gcube"; ContextTest.setContextByName(context); AccountingDao dao = getAccountingDao();