quality: fix tests after api changes
This commit is contained in:
@@ -746,7 +746,7 @@ class DefaultBaseRoomLastMessageFormatterTest {
|
||||
OtherState.RoomCanonicalAlias,
|
||||
OtherState.RoomGuestAccess,
|
||||
OtherState.RoomHistoryVisibility,
|
||||
OtherState.RoomJoinRules,
|
||||
OtherState.RoomJoinRules(null),
|
||||
OtherState.RoomPinnedEvents(OtherState.RoomPinnedEvents.Change.CHANGED),
|
||||
OtherState.RoomUserPowerLevels(emptyMap()),
|
||||
OtherState.RoomServerAcl,
|
||||
|
||||
@@ -601,7 +601,7 @@ class DefaultPinnedMessagesBannerFormatterTest {
|
||||
OtherState.RoomCanonicalAlias,
|
||||
OtherState.RoomGuestAccess,
|
||||
OtherState.RoomHistoryVisibility,
|
||||
OtherState.RoomJoinRules,
|
||||
OtherState.RoomJoinRules(null),
|
||||
OtherState.RoomPinnedEvents(OtherState.RoomPinnedEvents.Change.CHANGED),
|
||||
OtherState.RoomUserPowerLevels(emptyMap()),
|
||||
OtherState.RoomServerAcl,
|
||||
|
||||
@@ -510,7 +510,7 @@ class InReplyToMetadataKtTest {
|
||||
fun `state content`() = runTest {
|
||||
moleculeFlow(RecompositionMode.Immediate) {
|
||||
anInReplyToDetailsReady(
|
||||
eventContent = StateContent("", OtherState.RoomJoinRules)
|
||||
eventContent = StateContent("", OtherState.RoomJoinRules(null))
|
||||
).metadata(hideImage = false)
|
||||
}.test {
|
||||
awaitItem().let {
|
||||
|
||||
Reference in New Issue
Block a user