File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/test/java/com/example/android/architecture/blueprints/todoapp/tasks Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 17
17
package com.example.android.architecture.blueprints.todoapp.tasks
18
18
19
19
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
20
+ import androidx.lifecycle.SavedStateHandle
20
21
import com.example.android.architecture.blueprints.todoapp.MainCoroutineRule
21
22
import com.example.android.architecture.blueprints.todoapp.R
22
23
import com.example.android.architecture.blueprints.todoapp.assertLiveDataEventTriggered
@@ -62,7 +63,7 @@ class TasksViewModelTest {
62
63
val task3 = Task (" Title3" , " Description3" , true )
63
64
tasksRepository.addTasks(task1, task2, task3)
64
65
65
- tasksViewModel = TasksViewModel (tasksRepository)
66
+ tasksViewModel = TasksViewModel (tasksRepository, SavedStateHandle () )
66
67
}
67
68
68
69
@Test
You can’t perform that action at this time.
0 commit comments