Fix Migrator test and also add the test to build script (#896)
* Fix MigratorTest after update to Kotlin 2.0.0 * add main module's test to build script (cherry picked from commit e57638a49c759d36d25b92f26633df5bdfb0d2b3) # Conflicts: # .github/workflows/build_pull_request.yml # .github/workflows/build_push.yml
This commit is contained in:
parent
f62e8933d7
commit
99dbb16a7a
@ -29,7 +29,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…
x
Reference in New Issue
Block a user