Replace the old MockUserSession with the generated UserSessionMock

This commit is contained in:
Stefan Ceriu
2024-05-27 14:44:15 +03:00
committed by Stefan Ceriu
parent a126715ba0
commit 3a904ebc9d
65 changed files with 220 additions and 259 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ extension ClientProxyMock {
switch room {
case .empty:
return await RoomProxyMock(with: .init(name: "Empty room"))
return await RoomProxyMock(.init(name: "Empty room"))
case .filled(let details), .invalidated(let details):
return await RoomProxyMock(with: .init(id: roomID, name: details.name))
return await RoomProxyMock(.init(id: roomID, name: details.name))
}
}
}