diff --git a/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java b/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java index e8f148f..545c395 100644 --- a/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java +++ b/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java @@ -221,12 +221,11 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest { } @Test - public void gcTest() throws Exception { + public void storageStatusTest() throws Exception { accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class); - TemporalConstraint temporalConstraint = getTemporalConstraint(); Collection myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE); accountingPersistenceQueryPostgreSQL.setFilters(myFilters); - accountingPersistenceQueryPostgreSQL.setTemporalConstraint(temporalConstraint); + accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint()); accountingPersistenceQueryPostgreSQL.getTimeSeries(); }