Authentication: Add tests that cover the service/wizards. #6179
Labels
A-Authentication
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
Z-FTUE
Issue is relevant to the first time use project or experience
This can be taken in 2 parts:
AuthenticationService
andRegistrationWizard
(ready now).AuthenticationService
andLoginWizard
(pending implementation).Probably the easiest way to test these would be to make an
AuthenticationRestClient
/AuthenticationHTTPClient
protocols based on theMXRestClient+Async
/MXHTTPClient+Async
extensions, make mocks of both and allowAuthenticationService
to be configured with the type of client it should create.For reference: Android tests although they're from the view model and use mock service/wizards.
The text was updated successfully, but these errors were encountered: