diff --git a/cwms-data-api/src/test/java/cwms/cda/api/ForecastSpecControllerTestIT.java b/cwms-data-api/src/test/java/cwms/cda/api/ForecastSpecControllerTestIT.java index f3a7e1b57..183f9d378 100644 --- a/cwms-data-api/src/test/java/cwms/cda/api/ForecastSpecControllerTestIT.java +++ b/cwms-data-api/src/test/java/cwms/cda/api/ForecastSpecControllerTestIT.java @@ -8,7 +8,6 @@ import fixtures.CwmsDataApiSetupCallback; import fixtures.TestAccounts; import io.restassured.filter.log.LogDetail; -import org.junit.jupiter.api.Disabled; import usace.cwms.db.jooq.codegen.packages.CWMS_FCST_PACKAGE; import org.apache.commons.io.IOUtils; @@ -253,18 +252,14 @@ void test_create_get_delete_get() throws Exception { } @Test - @Disabled("Disabled until the retrieval returns the new LRTS interval identifier") void test_create_get_delete_get_lrts() throws Exception { - // Structure of test: - // - // 1)Create the spec - // 2)Retrieve the spec and assert that it exists - // 3)Delete the spec - // 4)Retrieve the spec and assert that it does not exist + // 1) Create the spec + // 2) Retrieve the spec and assert that it exists + // 3) Delete the spec + // 4) Retrieve the spec and assert that it does not exist String specId = "TEST-SPEC-LRTS"; - TestAccounts.KeyUser user = TestAccounts.KeyUser.SPK_NORMAL; // Step 1) @@ -316,7 +311,9 @@ void test_create_get_delete_get_lrts() throws Exception { .body("time-series-ids[1]", equalTo("TsBinTestLoc.Flow.Ave.1DayLocal.1Day.tsid2")) .body("time-series-ids[2]", equalTo("TsBinTestLoc.Flow.Ave.1DayLocal.1Day.tsid3")) ; + truncateFcstTimeSeries(); + // Step 3) // Delete the spec given()