mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fix unit test
This commit is contained in:
parent
0781ee84d9
commit
e4a98378a1
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
package im.vector.app.test.fakes
|
||||
|
||||
import io.mockk.mockk
|
||||
import org.matrix.android.sdk.api.session.events.model.Content
|
||||
import org.matrix.android.sdk.api.session.room.model.message.PollType
|
||||
import org.matrix.android.sdk.api.session.room.send.SendService
|
||||
import org.matrix.android.sdk.api.util.Cancelable
|
||||
|
@ -25,5 +26,5 @@ class FakeSendService : SendService by mockk() {
|
|||
|
||||
private val cancelable = mockk<Cancelable>()
|
||||
|
||||
override fun sendPoll(pollType: PollType, question: String, options: List<String>): Cancelable = cancelable
|
||||
override fun sendPoll(pollType: PollType, question: String, options: List<String>, additionalContent: Content?): Cancelable = cancelable
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue