mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Remove all underlyingFoo mock property usage (unnecessary)
This commit is contained in:
@@ -18,13 +18,13 @@ extension AppMediatorMock {
|
||||
convenience init(_ configuration: Configuration) {
|
||||
self.init()
|
||||
|
||||
underlyingAppState = configuration.appState
|
||||
requestAuthorizationIfNeededUnderlyingReturnValue = configuration.isCameraAuthorized
|
||||
underlyingNetworkMonitor = configuration.networkMonitor
|
||||
appState = configuration.appState
|
||||
requestAuthorizationIfNeededReturnValue = configuration.isCameraAuthorized
|
||||
networkMonitor = configuration.networkMonitor
|
||||
|
||||
let windowManagerMock = WindowManagerMock()
|
||||
windowManagerMock.closeAllSecondaryWindowsClosure = { }
|
||||
windowManagerMock.closeSecondaryWindowForTypeClosure = { _ in }
|
||||
underlyingWindowManager = windowManagerMock
|
||||
windowManager = windowManagerMock
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user