diff --git a/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt b/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt index 25d2c47ee..47a7c67fe 100644 --- a/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt +++ b/src/test/kotlin/org/opensearch/indexmanagement/rollup/RollupRestTestCase.kt @@ -276,7 +276,7 @@ abstract class RollupRestTestCase : IndexManagementRestTestCase() { val res = client().makeRequest( "PUT", "_cluster/settings", emptyMap(), - StringEntity(request, ContentType.APPLICATION_JSON), + StringEntity(request, APPLICATION_JSON), ) assertEquals("Request failed", RestStatus.OK, res.restStatus()) }