Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Mauro
2024-05-20 14:37:45 +02:00
committed by GitHub
parent e165cf3fb9
commit ab0edf0b0e
15 changed files with 192 additions and 95 deletions

View File

@@ -57,17 +57,17 @@ class JoinRoomScreenViewModelTests: XCTestCase {
clientProxy.joinRoomViaReturnValue = throwing ? .failure(.sdkError(ClientProxyMockError.generic)) : .success(())
clientProxy.roomPreviewForIdentifierReturnValue = .success(.init(roomID: "",
name: nil,
canonicalAlias: nil,
topic: nil,
avatarURL: nil,
memberCount: 0,
isHistoryWorldReadable: false,
isJoined: false,
isInvited: false,
isPublic: false,
canKnock: false))
clientProxy.roomPreviewForIdentifierViaReturnValue = .success(.init(roomID: "",
name: nil,
canonicalAlias: nil,
topic: nil,
avatarURL: nil,
memberCount: 0,
isHistoryWorldReadable: false,
isJoined: false,
isInvited: false,
isPublic: false,
canKnock: false))
viewModel = JoinRoomScreenViewModel(roomID: "1",
via: [],