diff --git a/gdg-chapter/src/commonTest/kotlin/id/gdg/chapter/domain/GetChapterListUseCaseList.kt b/gdg-chapter/src/commonTest/kotlin/id/gdg/chapter/domain/GetChapterListUseCaseList.kt index 5d0c894..11acea1 100644 --- a/gdg-chapter/src/commonTest/kotlin/id/gdg/chapter/domain/GetChapterListUseCaseList.kt +++ b/gdg-chapter/src/commonTest/kotlin/id/gdg/chapter/domain/GetChapterListUseCaseList.kt @@ -8,7 +8,6 @@ class GetChapterListUseCaseList { @Test fun `invoked should return a list of ChapterModel with absolute chapter`() { - val useCase = GetChapterListUseCase() val expected = listOf( ChapterModel(540, "GDG Bali"), ChapterModel(577, "GDG Jogjakarta"), @@ -22,6 +21,7 @@ class GetChapterListUseCaseList { ChapterModel(1332, "GDG Medan") ) + val useCase: GetChapterListUseCase = GetChapterListUseCaseImpl() assertEquals(expected, useCase()) } } \ No newline at end of file