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()) }