Skip to content

Commit

Permalink
Moves companion object to bottom of file
Browse files Browse the repository at this point in the history
Fixes: OX-10357
  • Loading branch information
scireum-mbo committed Jan 30, 2024
1 parent ae8db47 commit 4dbccb0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/test/kotlin/sirius/db/mongo/MongoTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ import kotlin.test.assertTrue

@ExtendWith(SiriusExtension::class)
class MongoTest {
companion object {
@Part
private lateinit var mongo: Mongo

@Part
private lateinit var keyGen: KeyGenerator
}

@Test
fun `basic read and write works`() {
val testString = System.currentTimeMillis().toString()
Expand Down Expand Up @@ -133,4 +125,12 @@ class MongoTest {
.aggregateIn("test2", Mapping.named("value"), "\$push").get(List::class.java)
)
}

companion object {
@Part
private lateinit var mongo: Mongo

@Part
private lateinit var keyGen: KeyGenerator
}
}

0 comments on commit 4dbccb0

Please sign in to comment.