fulfill assertion about eventId

This commit is contained in:
Benoit Marty 2021-01-25 16:26:58 +01:00 committed by Benoit Marty
parent 57dba2f29a
commit d6a5b9fb48

View File

@ -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 = "",