mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Add initial tests on the authentication service. (#6229)
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ class RegistrationWizard {
|
||||
}
|
||||
|
||||
let client: AuthenticationRestClient
|
||||
let sessionCreator: SessionCreator
|
||||
let sessionCreator: SessionCreatorProtocol
|
||||
|
||||
private(set) var state: State
|
||||
|
||||
@@ -59,7 +59,7 @@ class RegistrationWizard {
|
||||
state.isRegistrationStarted
|
||||
}
|
||||
|
||||
init(client: AuthenticationRestClient, sessionCreator: SessionCreator = SessionCreator()) {
|
||||
init(client: AuthenticationRestClient, sessionCreator: SessionCreatorProtocol) {
|
||||
self.client = client
|
||||
self.sessionCreator = sessionCreator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user