Fix MigratorTest after update to Kotlin 2.0.0
This commit is contained in:
parent
a0971e36a9
commit
82e4aed881
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,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…
Reference in a new issue