Add tests for the UserSessionStore. (#6065)

* Add enough mock configurations to test the UserSessionStore.

* Add tests for the UserSessionStore.
This commit is contained in:
Doug
2026-08-25 16:41:43 +01:00
committed by GitHub
parent 353233672a
commit c8b12d9496
15 changed files with 468 additions and 27 deletions
@@ -59,5 +59,13 @@ extension ClientFactoryMock {
}
return client
}
makeAppClientCredentialsClientSessionDelegateAppSettingsAppHooksClosure = { credentials, _, _, _ in
ClientSDKMock(.init(userID: credentials.userID))
}
makeNSEClientCredentialsRoomIDClientSessionDelegateAppSettingsAppHooksClosure = { credentials, _, _, _, _ in
ClientSDKMock(.init(userID: credentials.userID))
}
}
}