Fix test
This commit is contained in:
parent
d1fdbeb8bb
commit
12cd1ce5ee
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ class DefaultRoomLastMessageFormatterTest {
|
|||
|
||||
val youAcceptedKnockEvent = createRoomEvent(sentByYou = true, senderDisplayName = null, content = someoneContent)
|
||||
val youAcceptedKnock = formatter.format(youAcceptedKnockEvent, false)
|
||||
assertThat(youAcceptedKnock).isEqualTo("${someoneContent.userId} allowed you to join")
|
||||
assertThat(youAcceptedKnock).isEqualTo("You allowed ${someoneContent.userId} to join")
|
||||
|
||||
val someoneAcceptedKnockEvent = createRoomEvent(sentByYou = false, senderDisplayName = otherName, content = someoneContent)
|
||||
val someoneAcceptedKnock = formatter.format(someoneAcceptedKnockEvent, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue