Skip to content

Commit 56141d9

Browse files
committed
Fixed unit test
1 parent 481c00e commit 56141d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/test/java/org/thoughtcrime/securesms/conversation/v2/MentionViewModelTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class MentionViewModelTest : BaseViewModelTest() {
116116
threadID = threadID,
117117
application = InstrumentationRegistry.getInstrumentation().context as android.app.Application,
118118
mmsSmsDatabase = mock {
119-
on { getRecentChatMemberAddresses(threadID, 20)} doAnswer {
119+
on { getRecentChatMemberAddresses(eq(threadID), any())} doAnswer {
120120
val limit = it.arguments[1] as Int
121121
threadMembers.take(limit).map { m -> m.pubKey }
122122
}

0 commit comments

Comments
 (0)