diff --git a/cortex/connector/src/test/scala/org/thp/thehive/connector/cortex/controllers/v0/JobCtrlTest.scala b/cortex/connector/src/test/scala/org/thp/thehive/connector/cortex/controllers/v0/JobCtrlTest.scala index 413cf23808..c62a6153b5 100644 --- a/cortex/connector/src/test/scala/org/thp/thehive/connector/cortex/controllers/v0/JobCtrlTest.scala +++ b/cortex/connector/src/test/scala/org/thp/thehive/connector/cortex/controllers/v0/JobCtrlTest.scala @@ -22,7 +22,7 @@ class JobCtrlTest extends PlaySpecification with TestAppBuilder { .bindToProvider[CortexClient, TestCortexClientProvider] .bind[Connector, TestConnector] .bindToProvider[Schema, TheHiveCortexSchemaProvider] - .bindToProvider[QueryExecutor, TheHiveCortexQueryExecutorProvider] + .bindNamedToProvider[QueryExecutor, TheHiveCortexQueryExecutorProvider]("v0") .bindNamedToProvider[Database, BasicDatabaseProvider]("with-thehive-cortex-schema") )