From 62adcc893d40159cc2780abe65553a4057b0c2e9 Mon Sep 17 00:00:00 2001 From: PravallikaEmani <97868699+emanipravallika@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:26:13 +0530 Subject: [PATCH] OP-22224: Addressed comments. Removed duplicate code. (#23) --- kayenta-atlas/kayenta-atlas.gradle | 3 --- kayenta-blobs/kayenta-blobs.gradle | 3 --- .../security/MapBackedAccountCredentialsRepositoryTest.java | 3 ++- kayenta-datadog/kayenta-datadog.gradle | 3 --- kayenta-prometheus/kayenta-prometheus.gradle | 3 --- 5 files changed, 2 insertions(+), 13 deletions(-) diff --git a/kayenta-atlas/kayenta-atlas.gradle b/kayenta-atlas/kayenta-atlas.gradle index 6101e44d8..ba507ff88 100644 --- a/kayenta-atlas/kayenta-atlas.gradle +++ b/kayenta-atlas/kayenta-atlas.gradle @@ -14,6 +14,3 @@ dependencies { test { useJUnitPlatform() } -test { - useJUnitPlatform() -} diff --git a/kayenta-blobs/kayenta-blobs.gradle b/kayenta-blobs/kayenta-blobs.gradle index dbdd9c95e..f9f706c4c 100644 --- a/kayenta-blobs/kayenta-blobs.gradle +++ b/kayenta-blobs/kayenta-blobs.gradle @@ -8,6 +8,3 @@ dependencies { test { useJUnitPlatform() } -test { - useJUnitPlatform() -} diff --git a/kayenta-core/src/test/groovy/com/netflix/kayenta/security/MapBackedAccountCredentialsRepositoryTest.java b/kayenta-core/src/test/groovy/com/netflix/kayenta/security/MapBackedAccountCredentialsRepositoryTest.java index d8329d964..1bd4d3a4a 100644 --- a/kayenta-core/src/test/groovy/com/netflix/kayenta/security/MapBackedAccountCredentialsRepositoryTest.java +++ b/kayenta-core/src/test/groovy/com/netflix/kayenta/security/MapBackedAccountCredentialsRepositoryTest.java @@ -20,7 +20,8 @@ import static com.netflix.kayenta.security.AccountCredentials.Type.METRICS_STORE; import static com.netflix.kayenta.security.AccountCredentials.Type.OBJECT_STORE; import static com.netflix.kayenta.security.AccountCredentials.Type.REMOTE_JUDGE; -import static org.assertj.core.api.Assertions.*; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; diff --git a/kayenta-datadog/kayenta-datadog.gradle b/kayenta-datadog/kayenta-datadog.gradle index 9b2015627..bbbf517b5 100644 --- a/kayenta-datadog/kayenta-datadog.gradle +++ b/kayenta-datadog/kayenta-datadog.gradle @@ -6,6 +6,3 @@ dependencies { test { useJUnitPlatform() } -test { - useJUnitPlatform() -} diff --git a/kayenta-prometheus/kayenta-prometheus.gradle b/kayenta-prometheus/kayenta-prometheus.gradle index 9b2015627..bbbf517b5 100644 --- a/kayenta-prometheus/kayenta-prometheus.gradle +++ b/kayenta-prometheus/kayenta-prometheus.gradle @@ -6,6 +6,3 @@ dependencies { test { useJUnitPlatform() } -test { - useJUnitPlatform() -}