diff --git a/app/src/test/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterTest.kt b/app/src/test/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterTest.kt index b2e18d7556d..0d16a9ae8be 100644 --- a/app/src/test/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterTest.kt +++ b/app/src/test/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterTest.kt @@ -258,7 +258,7 @@ class EventCapturePresenterTest { ) doReturn ValidationStrategy.ON_UPDATE_AND_INSERT val eventCompletionDialog: EventCompletionDialog = mock() whenever( - configureEventCompletionDialog.invoke(emptyList(), emptyMap(), emptyList(), true, null, true), + configureEventCompletionDialog.invoke(emptyList(), emptyMap(), emptyList(), true, null, false), ) doReturn eventCompletionDialog whenever(eventRepository.isCompletedEventExpired(any())) doReturn Observable.just(true) whenever(eventRepository.isEventEditable(any())) doReturn true @@ -281,7 +281,7 @@ class EventCapturePresenterTest { ) doReturn ValidationStrategy.ON_UPDATE_AND_INSERT val eventCompletionDialog: EventCompletionDialog = mock() whenever( - configureEventCompletionDialog.invoke(emptyList(), emptyMap(), emptyList(), true, null, true), + configureEventCompletionDialog.invoke(emptyList(), emptyMap(), emptyList(), true, null, false), ) doReturn eventCompletionDialog whenever(eventRepository.isCompletedEventExpired(any())) doReturn Observable.just(false) whenever(eventRepository.isEventEditable(any())) doReturn true