mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +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) {
|
||||
profile = viewModel.profile.getOrAwaitValue()
|
||||
}
|
||||
assertEquals(true, viewModel.isFavorite.getOrAwaitValue())
|
||||
assertTrue(updateFavoriteCalled)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user