Fixed test

This commit is contained in:
Luca Frosini 2020-02-14 12:11:15 +01:00
parent 0069f4f363
commit 9ebbb89eb0
1 changed files with 3 additions and 3 deletions

View File

@ -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<ScopeDescriptor> 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();