mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Replace the existing MockClientProxy with a generated one + special configuration options
This commit is contained in:
@@ -20,7 +20,7 @@ import XCTest
|
||||
@MainActor
|
||||
class InvitesScreenViewModelTests: XCTestCase {
|
||||
var viewModel: InvitesScreenViewModelProtocol!
|
||||
var clientProxy: MockClientProxy!
|
||||
var clientProxy: ClientProxyMock!
|
||||
var userSession: MockUserSession!
|
||||
var mockNotificationCenter: NotificationCenterMock!
|
||||
|
||||
@@ -29,7 +29,7 @@ class InvitesScreenViewModelTests: XCTestCase {
|
||||
}
|
||||
|
||||
override func setUpWithError() throws {
|
||||
clientProxy = MockClientProxy(userID: "@a:b.com")
|
||||
clientProxy = ClientProxyMock(.init(userID: "@a:b.com"))
|
||||
userSession = MockUserSession(clientProxy: clientProxy,
|
||||
mediaProvider: MockMediaProvider(),
|
||||
voiceMessageMediaManager: VoiceMessageMediaManagerMock())
|
||||
|
||||
Reference in New Issue
Block a user