mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-26 09:33:14 +01:00
fulfill assertion about eventId
This commit is contained in:
parent
57dba2f29a
commit
d6a5b9fb48
@ -108,6 +108,7 @@ internal class UrlsExtractorTest : InstrumentedTest {
|
||||
}
|
||||
|
||||
private fun createEvent(body: String): Event = Event(
|
||||
eventId = "!fake",
|
||||
type = EventType.MESSAGE,
|
||||
content = MessageTextContent(
|
||||
msgType = MessageType.MSGTYPE_TEXT,
|
||||
@ -119,7 +120,7 @@ internal class UrlsExtractorTest : InstrumentedTest {
|
||||
return TimelineEvent(
|
||||
root = this,
|
||||
localId = 0L,
|
||||
eventId = "",
|
||||
eventId = eventId!!,
|
||||
displayIndex = 0,
|
||||
senderInfo = SenderInfo(
|
||||
userId = "",
|
||||
|
Loading…
Reference in New Issue
Block a user