mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-20 21:06:32 +00:00
Add missed assertion in test
This commit is contained in:
parent
63df44624e
commit
a713a72e07
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue