Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos committed Jun 14, 2024
1 parent e0691dc commit 825d246
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.StandardTestDispatcher
import kotlinx.coroutines.test.setMain
import org.hisp.dhis.android.core.arch.helpers.DateUtils
import org.hisp.dhis.android.core.enrollment.Enrollment
import org.hisp.dhis.android.core.program.ProgramStage
import org.junit.Before
import org.junit.Test
import org.mockito.Mockito.spy
Expand All @@ -15,9 +13,6 @@ import org.mockito.kotlin.verify

class SchedulingViewModelTest {

private val enrollment = Enrollment.builder().uid("enrollmentUid").build()
private val programStage = ProgramStage.builder().uid("programStage").build()

private lateinit var schedulingViewModel: SchedulingViewModel

private val testingDispatcher = StandardTestDispatcher()
Expand All @@ -27,8 +22,6 @@ class SchedulingViewModelTest {
fun setUp() {
Dispatchers.setMain(testingDispatcher)
schedulingViewModel = SchedulingViewModel(
enrollment = enrollment,
programStages = listOf(programStage),
d2 = mock(),
resourceManager = mock(),
periodUtils = mock(),
Expand Down

0 comments on commit 825d246

Please sign in to comment.