diff --git a/src/test/kotlin/org/opensearch/indexmanagement/rollup/util/RollupFieldValueExpressionResolverTests.kt b/src/test/kotlin/org/opensearch/indexmanagement/rollup/util/RollupFieldValueExpressionResolverTests.kt index d122008f6..be8c10d0e 100644 --- a/src/test/kotlin/org/opensearch/indexmanagement/rollup/util/RollupFieldValueExpressionResolverTests.kt +++ b/src/test/kotlin/org/opensearch/indexmanagement/rollup/util/RollupFieldValueExpressionResolverTests.kt @@ -23,10 +23,10 @@ class RollupFieldValueExpressionResolverTests : OpenSearchTestCase() { private val scriptService: ScriptService = mock() private val clusterService: ClusterService = mock() private val indexAliasUtils: RollupFieldValueExpressionResolver.IndexAliasUtils = mock() + @Before fun settings() { RollupFieldValueExpressionResolver.registerServices(scriptService, clusterService) - clusterService.state() } fun `test resolving no alias successfully`() {