Add missed assertion in test

This commit is contained in:
Ammar Githam 2021-06-24 20:45:13 +09:00
parent 63df44624e
commit a713a72e07
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ internal class ProfileFragmentViewModelTest {
while (profile.status == Resource.Status.LOADING) {
profile = viewModel.profile.getOrAwaitValue()
}
assertEquals(true, viewModel.isFavorite.getOrAwaitValue())
assertTrue(updateFavoriteCalled)
}
}