Ensure groups stories are sent to are retained in the UI.

This commit is contained in:
Alex Hart
2022-03-04 11:20:30 -04:00
parent 3ac63cc59d
commit e2e3617be9
7 changed files with 60 additions and 11 deletions

View File

@@ -28,6 +28,7 @@ class ContactSearchPagedDataSourceTest {
`when`(repository.getRecipientFromRecipientCursor(cursor)).thenReturn(Recipient.UNKNOWN)
`when`(repository.getRecipientFromThreadCursor(cursor)).thenReturn(Recipient.UNKNOWN)
`when`(repository.getRecipientFromDistributionListCursor(cursor)).thenReturn(Recipient.UNKNOWN)
`when`(repository.getGroupStories()).thenReturn(emptySet())
`when`(cursor.moveToPosition(anyInt())).thenCallRealMethod()
`when`(cursor.moveToNext()).thenCallRealMethod()
`when`(cursor.position).thenCallRealMethod()