Room : Fix tests as there is less recomposition

This commit is contained in:
ganfra 2023-07-06 19:58:06 +02:00
parent 4911fdc15e
commit 7dbac91cd3
4 changed files with 42 additions and 37 deletions

View file

@ -64,7 +64,7 @@ class FakeMatrixClient(
private val getProfileResults = mutableMapOf<UserId, Result<MatrixUser>>()
private var uploadMediaResult: Result<String> = Result.success(AN_AVATAR_URL)
override fun getRoom(roomId: RoomId): MatrixRoom? {
override suspend fun getRoom(roomId: RoomId): MatrixRoom? {
return getRoomResults[roomId]
}