mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-25 16:17:29 +00:00
Add missed assertion in test
This commit is contained in:
parent
63df44624e
commit
a713a72e07
@ -279,6 +279,7 @@ internal class ProfileFragmentViewModelTest {
|
|||||||
while (profile.status == Resource.Status.LOADING) {
|
while (profile.status == Resource.Status.LOADING) {
|
||||||
profile = viewModel.profile.getOrAwaitValue()
|
profile = viewModel.profile.getOrAwaitValue()
|
||||||
}
|
}
|
||||||
|
assertEquals(true, viewModel.isFavorite.getOrAwaitValue())
|
||||||
assertTrue(updateFavoriteCalled)
|
assertTrue(updateFavoriteCalled)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user