fixed test

This commit is contained in:
Luca Frosini 2021-11-22 15:17:28 +01:00
parent 3c7f8d9de7
commit 6752b45644
1 changed files with 2 additions and 3 deletions

View File

@ -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<NumberedFilter> myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE);
accountingPersistenceQueryPostgreSQL.setFilters(myFilters);
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(temporalConstraint);
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint());
accountingPersistenceQueryPostgreSQL.getTimeSeries();
}