Skip to content

Commit

Permalink
fix: [ANDROAPP-6101] fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Jun 4, 2024
1 parent ff47e34 commit 1335737
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1335737

Please sign in to comment.