mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
test: Fix MigratorTest after update to Kotlin 2.0.0
This commit is contained in:
parent
a95e95ce66
commit
4a17a7c436
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class MigratorTest {
|
|||
fun initilize() {
|
||||
migrationContext = MigrationContext(false)
|
||||
migrationJobFactory = spyk(MigrationJobFactory(migrationContext, CoroutineScope(Dispatchers.Main + Job())))
|
||||
migrationCompletedListener = spyk<() -> Unit>({})
|
||||
migrationCompletedListener = spyk<MigrationCompletedListener>(block = {})
|
||||
migrationStrategyFactory = spyk(MigrationStrategyFactory(migrationJobFactory, migrationCompletedListener))
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue