mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Add hooks for room creation and privacy & security settings screen. (#6270)
Add hooks for the create room and security and privacy screens.
This commit is contained in:
@@ -92,7 +92,8 @@ final class CreateRoomScreenViewModelTests {
|
||||
userSession: userSession,
|
||||
analytics: AnalyticsServiceMock(.init()),
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
userSettings: userSettings)
|
||||
userSettings: userSettings,
|
||||
appHooks: AppHooks())
|
||||
self.viewModel = viewModel
|
||||
|
||||
// Given a form with a blank topic.
|
||||
@@ -342,7 +343,8 @@ final class CreateRoomScreenViewModelTests {
|
||||
userSession: userSession,
|
||||
analytics: AnalyticsServiceMock(.init()),
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
userSettings: userSettings)
|
||||
userSettings: userSettings,
|
||||
appHooks: AppHooks())
|
||||
self.viewModel = viewModel
|
||||
}
|
||||
}
|
||||
|
||||
@@ -473,6 +473,7 @@ final class SecurityAndPrivacyScreenViewModelTests {
|
||||
spaceServiceConfiguration: .init(topLevelSpaces: topLevelSpaces,
|
||||
joinedParentSpaces: joinedParentSpaces))),
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
userSettings: userSettings)
|
||||
userSettings: userSettings,
|
||||
appHooks: AppHooks())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user