From dc890fd9250ad0a663a52876466f875702d1a9b5 Mon Sep 17 00:00:00 2001 From: Mauricio Muler Bodemann Date: Tue, 30 Jan 2024 11:59:31 +0100 Subject: [PATCH] Moves companion object to bottom of file Fixes: OX-10357 --- .../sirius/db/mongo/MongoQueryCompilerTest.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 + } }