diff --git a/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java b/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java index d8f4c58819c34..b45ac7af231b3 100644 --- a/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java +++ b/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java @@ -13,6 +13,7 @@ import org.opensearch.Version; import org.opensearch.action.ActionModule; import org.opensearch.action.ActionModule.DynamicActionRegistry; +import org.opensearch.action.support.ActionFilters; import org.opensearch.client.node.NodeClient; import org.opensearch.cluster.node.DiscoveryNode; import org.opensearch.common.io.stream.NamedWriteableRegistry; @@ -96,7 +97,7 @@ public void setup() throws Exception { client = new NoOpNodeClient(this.getTestName()); ActionModule mockActionModule = mock(ActionModule.class); DynamicActionRegistry dynamicActionRegistry = new DynamicActionRegistry(); - dynamicActionRegistry.initialize(Collections.emptyMap(), null, transportService, null); + dynamicActionRegistry.initialize(Collections.emptyMap(), new ActionFilters(Collections.emptySet()), transportService, null); when(mockActionModule.getDynamicActionRegistry()).thenReturn(dynamicActionRegistry); extensionTransportActionsHandler = new ExtensionTransportActionsHandler( Map.of("uniqueid1", discoveryExtensionNode),