mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Replace the existing MockClientProxy with a generated one + special configuration options
This commit is contained in:
@@ -27,7 +27,7 @@ class SettingsScreenViewModelTests: XCTestCase {
|
||||
|
||||
@MainActor override func setUpWithError() throws {
|
||||
cancellables.removeAll()
|
||||
let userSession = MockUserSession(clientProxy: MockClientProxy(userID: ""),
|
||||
let userSession = MockUserSession(clientProxy: ClientProxyMock(.init(userID: "")),
|
||||
mediaProvider: MockMediaProvider(),
|
||||
voiceMessageMediaManager: VoiceMessageMediaManagerMock())
|
||||
viewModel = SettingsScreenViewModel(userSession: userSession, appSettings: ServiceLocator.shared.settings)
|
||||
|
||||
Reference in New Issue
Block a user