1
0
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:
Ammar Githam 2021-06-24 20:45:13 +09:00
parent 63df44624e
commit a713a72e07

View File

@ -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)
} }
} }