Switch from Kodein to Koin (#1112)

* Switch from Kodein to Koin

* Ktlint
This commit is contained in:
Mitchell Syer
2024-11-14 18:08:19 -05:00
committed by GitHub
parent aa1e98544b
commit 0670f298cd
51 changed files with 341 additions and 465 deletions

View File

@@ -206,6 +206,13 @@ class FilterListTest : ApplicationTest() {
JavalinJackson().toJsonString(filterList)
}
fun setFilter(
sourceId: Long,
filterChange: FilterChange,
) {
setFilter(sourceId, listOf(filterChange))
}
@Test
fun `Header and Separator should not change`() {
val source = registerSource(FilterListSource::class)
@@ -347,6 +354,7 @@ class FilterListTest : ApplicationTest() {
}
@AfterAll
@JvmStatic
fun teardown() {
(0 until sourceCount).forEach { unregisterCatalogueSource(it) }
}