From d6911e3b157f216986fba3c8242984578e10a505 Mon Sep 17 00:00:00 2001 From: Rutuja Surve Date: Wed, 10 Aug 2022 16:13:37 +0530 Subject: [PATCH] fix resthelper and indextemplatecluster test for backport of #1885 Signed-off-by: Rutuja Surve --- .../IndexTemplateClusterPermissionsCheckTest.java | 8 ++++---- .../security/test/helper/rest/RestHelper.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/security/IndexTemplateClusterPermissionsCheckTest.java b/src/test/java/com/amazon/opendistroforelasticsearch/security/IndexTemplateClusterPermissionsCheckTest.java index 26aec2481f..c3432e14ec 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/security/IndexTemplateClusterPermissionsCheckTest.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/security/IndexTemplateClusterPermissionsCheckTest.java @@ -9,16 +9,16 @@ * GitHub history for details. */ -package org.opensearch.security; +package com.amazon.opendistroforelasticsearch.security; import org.apache.http.HttpStatus; import org.junit.Assert; import org.junit.Before; import org.junit.Test; -import org.opensearch.security.test.SingleClusterTest; -import org.opensearch.security.test.helper.rest.RestHelper; -import org.opensearch.security.test.helper.rest.RestHelper.HttpResponse; +import com.amazon.opendistroforelasticsearch.security.test.SingleClusterTest; +import com.amazon.opendistroforelasticsearch.security.test.helper.rest.RestHelper; +import com.amazon.opendistroforelasticsearch.security.test.helper.rest.RestHelper.HttpResponse; public class IndexTemplateClusterPermissionsCheckTest extends SingleClusterTest{ private RestHelper rh; diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/security/test/helper/rest/RestHelper.java b/src/test/java/com/amazon/opendistroforelasticsearch/security/test/helper/rest/RestHelper.java index a837f332b4..b6cf5fe2af 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/security/test/helper/rest/RestHelper.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/security/test/helper/rest/RestHelper.java @@ -75,9 +75,9 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.opensearch.security.DefaultObjectMapper; -import org.opensearch.security.test.helper.cluster.ClusterInfo; -import org.opensearch.security.test.helper.file.FileHelper; +import com.amazon.opendistroforelasticsearch.security.DefaultObjectMapper; +import com.amazon.opendistroforelasticsearch.security.test.helper.cluster.ClusterInfo; +import com.amazon.opendistroforelasticsearch.security.test.helper.file.FileHelper; import static org.junit.jupiter.api.Assertions.fail;