mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 19:34:35 -05:00
Switch from Kodein to Koin (#1112)
* Switch from Kodein to Koin * Ktlint
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user