From cd4557bfe1b816ab7cee1f17f80f29a96456d3f9 Mon Sep 17 00:00:00 2001 From: isfaaghyth Date: Sun, 25 Aug 2024 04:39:50 +0700 Subject: [PATCH] feat: revert fail test --- app/src/commonTest/kotlin/id/gdg/app/AppViewModelTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/commonTest/kotlin/id/gdg/app/AppViewModelTest.kt b/app/src/commonTest/kotlin/id/gdg/app/AppViewModelTest.kt index 7cc5d2a..f233bd3 100644 --- a/app/src/commonTest/kotlin/id/gdg/app/AppViewModelTest.kt +++ b/app/src/commonTest/kotlin/id/gdg/app/AppViewModelTest.kt @@ -162,7 +162,7 @@ class AppViewModelTest : KoinTest { runBlocking { viewModel.chapterUiState.test { - assertTrue { expectMostRecentItem().upcomingEvent.state is UiState.Success } + assertTrue { expectMostRecentItem().upcomingEvent.state is UiState.Fail } } } }