Skip to content

Commit

Permalink
Fix coroutine test timing out
Browse files Browse the repository at this point in the history
  • Loading branch information
LZRS committed Oct 5, 2023
1 parent 082a067 commit 491a41d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ internal class LoginViewModelTest : RobolectricTest() {
secureSharedPreference.saveCredentials("nativeUser", "n4t1veP5wd".toCharArray())
every { tokenAuthenticator.sessionActive() } returns false
loginViewModel.login(mockedActivity(isDeviceOnline = true), scope = this)
advanceUntilIdle()
// advanceUntilIdle()

Assert.assertFalse(loginViewModel.showProgressBar.value!!)
Assert.assertEquals(
Expand Down

0 comments on commit 491a41d

Please sign in to comment.