mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +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:
@@ -59,5 +59,13 @@ extension ClientFactoryMock {
|
||||
}
|
||||
return client
|
||||
}
|
||||
|
||||
makeAppClientCredentialsClientSessionDelegateAppSettingsAppHooksClosure = { credentials, _, _, _ in
|
||||
ClientSDKMock(.init(userID: credentials.userID))
|
||||
}
|
||||
|
||||
makeNSEClientCredentialsRoomIDClientSessionDelegateAppSettingsAppHooksClosure = { credentials, _, _, _, _ in
|
||||
ClientSDKMock(.init(userID: credentials.userID))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user