diff --git a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/common/params/dimension/DimensionIdentifier.java b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/common/params/dimension/DimensionIdentifier.java index b348a17ced4d..99836cd10699 100644 --- a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/common/params/dimension/DimensionIdentifier.java +++ b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/common/params/dimension/DimensionIdentifier.java @@ -27,15 +27,12 @@ */ package org.hisp.dhis.analytics.common.params.dimension; -import static java.util.stream.Collectors.joining; import static org.apache.commons.lang3.StringUtils.isBlank; import static org.hisp.dhis.analytics.common.params.dimension.DimensionIdentifier.DimensionIdentifierType.ENROLLMENT; import static org.hisp.dhis.analytics.common.params.dimension.DimensionIdentifier.DimensionIdentifierType.EVENT; import static org.hisp.dhis.analytics.common.params.dimension.DimensionIdentifier.DimensionIdentifierType.TEI; import static org.hisp.dhis.analytics.common.params.dimension.DimensionIdentifierHelper.DIMENSION_SEPARATOR; -import java.util.ArrayList; -import java.util.List; import lombok.AllArgsConstructor; import lombok.Data; import lombok.With; diff --git a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/tei/query/TeiFields.java b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/tei/query/TeiFields.java index 48310fde17a5..b28776bee483 100644 --- a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/tei/query/TeiFields.java +++ b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/tei/query/TeiFields.java @@ -29,7 +29,6 @@ import static java.lang.String.join; import static java.util.Arrays.stream; -import static java.util.stream.Collectors.joining; import static lombok.AccessLevel.PRIVATE; import static org.apache.commons.lang3.StringUtils.EMPTY; import static org.hisp.dhis.analytics.tei.query.context.QueryContextConstants.TEI_ALIAS; @@ -38,7 +37,6 @@ import static org.hisp.dhis.common.ValueType.REFERENCE; import static org.hisp.dhis.commons.util.TextUtils.SPACE; -import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; diff --git a/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/AnalyticsApiTest.java b/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/AnalyticsApiTest.java index bf353415c106..95a58b518f31 100644 --- a/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/AnalyticsApiTest.java +++ b/dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/AnalyticsApiTest.java @@ -32,6 +32,7 @@ import io.restassured.http.ContentType; import org.hisp.dhis.actions.LoginActions; +import org.hisp.dhis.helpers.extensions.AnalyticsSetupExtension; import org.hisp.dhis.helpers.extensions.ConfigurationExtension; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; @@ -64,7 +65,7 @@ */ @TestInstance(PER_CLASS) @ExtendWith(ConfigurationExtension.class) -// @ExtendWith(AnalyticsSetupExtension.class) +@ExtendWith(AnalyticsSetupExtension.class) @Timeout(value = AnalyticsApiTest.DEFAULT_LIMIT_EXECUTION_TIME, unit = MINUTES) @Tag("analytics") public abstract class AnalyticsApiTest {