From 63f8b91f230311b3693de9d207e0f34acc3aeeb6 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 11 Sep 2024 00:41:13 -0400 Subject: [PATCH] Small update Signed-off-by: Craig Perkins --- .../indexstatemanagement/IndexStateManagementRestTestCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/opensearch/indexmanagement/indexstatemanagement/IndexStateManagementRestTestCase.kt b/src/test/kotlin/org/opensearch/indexmanagement/indexstatemanagement/IndexStateManagementRestTestCase.kt index 0c44c5d12..829a5678c 100644 --- a/src/test/kotlin/org/opensearch/indexmanagement/indexstatemanagement/IndexStateManagementRestTestCase.kt +++ b/src/test/kotlin/org/opensearch/indexmanagement/indexstatemanagement/IndexStateManagementRestTestCase.kt @@ -342,7 +342,7 @@ abstract class IndexStateManagementRestTestCase : IndexManagementRestTestCase() val res = adminClient().makeRequest( "PUT", "$index/_settings", emptyMap(), - StringEntity(body, ContentType.APPLICATION_JSON), + StringEntity(body, APPLICATION_JSON), ) assertEquals("Update index setting failed", RestStatus.OK, res.restStatus()) }