diff --git a/feature/mindrecord/presentation/src/test/kotlin/com/afternote/feature/mindrecord/presentation/viewmodel/DraftListDeleteTest.kt b/feature/mindrecord/presentation/src/test/kotlin/com/afternote/feature/mindrecord/presentation/viewmodel/DraftListDeleteTest.kt index cfcf947974..ee21fee940 100644 --- a/feature/mindrecord/presentation/src/test/kotlin/com/afternote/feature/mindrecord/presentation/viewmodel/DraftListDeleteTest.kt +++ b/feature/mindrecord/presentation/src/test/kotlin/com/afternote/feature/mindrecord/presentation/viewmodel/DraftListDeleteTest.kt @@ -100,6 +100,13 @@ class DraftListDeleteTest { private fun viewModel(dailyQuestionRepository: DailyQuestionRepository): DraftListViewModel = DraftListViewModel( + // #769 가 목록 조회를 loader 로 뽑아낸 뒤 생성자가 3개로 늘었다. 같은 두 + // 저장소를 넘겨 종전과 같은 조회 경로를 그대로 태운다. + loader = + MindRecordDraftLoader( + diaryRepository = EmptyDiaryDraftRepository, + dailyQuestionRepository = dailyQuestionRepository, + ), diaryRepository = EmptyDiaryDraftRepository, dailyQuestionRepository = dailyQuestionRepository, )