Room : Fix tests as there is less recomposition
This commit is contained in:
parent
4911fdc15e
commit
7dbac91cd3
4 changed files with 42 additions and 37 deletions
|
|
@ -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]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue