From ef026410812eb2a6f9998796ae3e3754ff5cd7d8 Mon Sep 17 00:00:00 2001 From: Kevin Mas Ruiz Date: Mon, 20 Jan 2025 16:58:04 +0100 Subject: [PATCH] chore: make it compile --- .../com/mongodb/jbplugin/linting/IndexCheckingLinterTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/mongodb-linting-engine/src/test/kotlin/com/mongodb/jbplugin/linting/IndexCheckingLinterTest.kt b/packages/mongodb-linting-engine/src/test/kotlin/com/mongodb/jbplugin/linting/IndexCheckingLinterTest.kt index 9f88fda1..f16e7e18 100644 --- a/packages/mongodb-linting-engine/src/test/kotlin/com/mongodb/jbplugin/linting/IndexCheckingLinterTest.kt +++ b/packages/mongodb-linting-engine/src/test/kotlin/com/mongodb/jbplugin/linting/IndexCheckingLinterTest.kt @@ -4,6 +4,7 @@ import com.mongodb.jbplugin.accessadapter.ExplainPlan import com.mongodb.jbplugin.accessadapter.MongoDbReadModelProvider import com.mongodb.jbplugin.accessadapter.slice.ExplainQuery import com.mongodb.jbplugin.mql.Node +import com.mongodb.jbplugin.mql.QueryContext import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertInstanceOf import org.junit.jupiter.api.Test @@ -28,6 +29,7 @@ class IndexCheckingLinterTest { Unit, readModelProvider, query, + QueryContext.empty() ) assertEquals(1, result.warnings.size) @@ -50,6 +52,7 @@ class IndexCheckingLinterTest { Unit, readModelProvider, query, + QueryContext.empty() ) assertEquals(0, result.warnings.size)