mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Add tests for the UserSessionStore. (#6065)
* Add enough mock configurations to test the UserSessionStore. * Add tests for the UserSessionStore.
This commit is contained in:
@@ -68,6 +68,22 @@ nonisolated extension ClientSDKMock {
|
||||
throw MockError.generic
|
||||
}
|
||||
}
|
||||
|
||||
encryptionReturnValue = EncryptionSDKMock(.init())
|
||||
getNotificationSettingsReturnValue = NotificationSettingsSDKMock()
|
||||
homeserverCapabilitiesReturnValue = HomeserverCapabilitiesSDKMock()
|
||||
spaceServiceReturnValue = SpaceServiceSDKMock(.init())
|
||||
searchServiceReturnValue = SearchServiceSDKMock(.init())
|
||||
syncServiceReturnValue = SyncServiceBuilderSDKMock(.init())
|
||||
|
||||
setDelegateDelegateReturnValue = TaskHandleSDKMock()
|
||||
subscribeToIgnoredUsersListenerReturnValue = TaskHandleSDKMock()
|
||||
subscribeToSendQueueStatusListenerReturnValue = TaskHandleSDKMock()
|
||||
subscribeToSendQueueUpdatesListenerReturnValue = TaskHandleSDKMock()
|
||||
subscribeToMediaPreviewConfigListenerReturnValue = TaskHandleSDKMock()
|
||||
subscribeToOwnBeaconInfoUpdatesListenerReturnValue = TaskHandleSDKMock()
|
||||
isProfilesSlidingSyncExtensionSupportedReturnValue = false
|
||||
isUserStatusSupportedReturnValue = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user