diff --git a/src/test/kotlin/sirius/db/mongo/MongoQueryCompilerTest.kt b/src/test/kotlin/sirius/db/mongo/MongoQueryCompilerTest.kt index 6b9200ce8..b86a89a68 100644 --- a/src/test/kotlin/sirius/db/mongo/MongoQueryCompilerTest.kt +++ b/src/test/kotlin/sirius/db/mongo/MongoQueryCompilerTest.kt @@ -19,14 +19,6 @@ import kotlin.test.assertNotNull @ExtendWith(SiriusExtension::class) class MongoQueryCompilerTest { - companion object { - @Part - private lateinit var mango: Mango - - @Part - private lateinit var mixing: Mixing - } - @Test fun `listField generates an isEmptyListConstraint`() { val testEntity = MangoTestEntity() @@ -60,4 +52,12 @@ class MongoQueryCompilerTest { ).exists() } } + + companion object { + @Part + private lateinit var mango: Mango + + @Part + private lateinit var mixing: Mixing + } }