mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +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
@@ -32,7 +32,7 @@ class MessageForwardingScreenViewModelTests: XCTestCase {
|
||||
cancellables.removeAll()
|
||||
|
||||
let clientProxy = ClientProxyMock(.init())
|
||||
clientProxy.roomForIdentifierClosure = { RoomProxyMock(.init(id: $0)) }
|
||||
clientProxy.roomForIdentifierClosure = { .joined(JoinedRoomProxyMock(.init(id: $0))) }
|
||||
|
||||
viewModel = MessageForwardingScreenViewModel(forwardingItem: forwardingItem,
|
||||
clientProxy: clientProxy,
|
||||
|
||||
Reference in New Issue
Block a user