From b9390a198f4945c5497fc4c8a6114cbb4da72dc4 Mon Sep 17 00:00:00 2001 From: isfaaghyth Date: Sun, 25 Aug 2024 04:15:33 +0700 Subject: [PATCH] test fail --- 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 f233bd3..7cc5d2a 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.Fail } + assertTrue { expectMostRecentItem().upcomingEvent.state is UiState.Success } } } }