From 95fbba7b2489c425dd2e9955f65afe29bd9fff3d Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 28 May 2024 10:52:32 +0200 Subject: [PATCH] fix test files --- .../dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapperTest.kt | 2 -- .../usescases/teiDashboard/ui/mapper/TEIDetailMapperTest.kt | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapperTest.kt b/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapperTest.kt index 0c53970687..144eea5fef 100644 --- a/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapperTest.kt +++ b/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapperTest.kt @@ -8,7 +8,6 @@ import org.dhis2.usescases.teiDashboard.ui.model.InfoBarType import org.hisp.dhis.android.core.common.State import org.hisp.dhis.android.core.enrollment.Enrollment import org.hisp.dhis.android.core.enrollment.EnrollmentStatus -import org.hisp.dhis.android.core.event.Event import org.hisp.dhis.android.core.organisationunit.OrganisationUnit import org.hisp.dhis.android.core.program.Program import org.hisp.dhis.android.core.program.ProgramStage @@ -108,7 +107,6 @@ class InfoBarMapperTest { val model = DashboardEnrollmentModel( setEnrollment(state, status, followup), emptyList(), - emptyList(), setTei(state), attributeValues, emptyList(), diff --git a/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/TEIDetailMapperTest.kt b/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/TEIDetailMapperTest.kt index dfd0c76782..ed304e65f3 100644 --- a/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/TEIDetailMapperTest.kt +++ b/app/src/test/java/org/dhis2/usescases/teiDashboard/ui/mapper/TEIDetailMapperTest.kt @@ -7,7 +7,6 @@ import org.dhis2.usescases.teiDashboard.DashboardEnrollmentModel import org.hisp.dhis.android.core.common.State import org.hisp.dhis.android.core.enrollment.Enrollment import org.hisp.dhis.android.core.enrollment.EnrollmentStatus -import org.hisp.dhis.android.core.event.Event import org.hisp.dhis.android.core.organisationunit.OrganisationUnit import org.hisp.dhis.android.core.program.Program import org.hisp.dhis.android.core.program.ProgramStage @@ -61,7 +60,6 @@ class TEIDetailMapperTest { val model = DashboardEnrollmentModel( setEnrollment(), emptyList(), - emptyList(), setTei(), attributeValues, emptyList(),