Skip to content

Commit

Permalink
feat: [ANDROAPP-5896] test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmateos committed Feb 12, 2024
1 parent c7ef08b commit 951c932
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,9 @@ class EventInitialPresenterTest {
@Test
fun `Should show message when event is not yet created and the delete option is clicked`() {
whenever(view.context) doReturn mock()
whenever(view.context.getString(any())) doReturn "display message"

presenter.deleteEvent("tei_uid")
verify(view).displayMessage(any())
verify(view).showDeleteEventError()
}

@Test
Expand Down

0 comments on commit 951c932

Please sign in to comment.