fix AndroidTests didn't run properly because of wrong dispatcher usage
This commit is contained in:
parent
5d376f16e1
commit
17f645ce9d
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class AndroidTestMainDispatcherTestRule : MainDispatcherTestRule {
|
|||
object : Statement() {
|
||||
@Throws(Throwable::class)
|
||||
override fun evaluate() {
|
||||
DatabaseInitialization.dispatcher = Dispatchers.Main.immediate
|
||||
DatabaseInitialization.dispatcher = Dispatchers.Main
|
||||
base.evaluate()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue