mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Introduce a new RoomProxyType and treat rooms differently based on their membership state
This commit is contained in:
committed by
Stefan Ceriu
parent
e0ba9925e7
commit
e281a3f242
@@ -171,7 +171,7 @@ class RoomFlowCoordinatorTests: XCTestCase {
|
||||
|
||||
// "Join" the room
|
||||
clientProxy.roomForIdentifierClosure = { _ in
|
||||
RoomProxyMock(.init())
|
||||
.joined(JoinedRoomProxyMock(.init()))
|
||||
}
|
||||
|
||||
try await process(route: .room(roomID: "InvitedRoomID", via: []))
|
||||
@@ -201,7 +201,7 @@ class RoomFlowCoordinatorTests: XCTestCase {
|
||||
|
||||
// "Join" the room
|
||||
clientProxy.roomForIdentifierClosure = { _ in
|
||||
RoomProxyMock(.init())
|
||||
.joined(JoinedRoomProxyMock(.init()))
|
||||
}
|
||||
|
||||
try await process(route: .room(roomID: "InvitedRoomID", via: []))
|
||||
|
||||
Reference in New Issue
Block a user