Skip to content
Snippets Groups Projects
Commit d8eececd authored by cpilaszewicz's avatar cpilaszewicz
Browse files

Fix unit tests

parent b23b3f1f
Branches
Tags
4 merge requests!58Onboarding screens swift ui merge dev,!55WIP: Resolve "UI for gamifcation & stats",!51Resolve "Fix authenticationViewModel test",!47Provisional fix for OpenSSL 1.1+, needs testing
......@@ -48,7 +48,7 @@ class AuthenticationTests: XCTestCase {
promise in promise(.success(AuthenticationModel.AuthenticationResult.Success))
}
stub(model) { stub in
when(stub.checkConfig(mailAccount: any(), extendedValidation: false)).thenReturn(future)
when(stub.checkConfig(mailAccount: any(), extendedValidation: true)).thenReturn(future)
}
viewModel.detailValidation(login, password, username, imapServer, String(imapPort), imapEncryption, smtpServer, String(smtpPort), smtpEncryption)
let argumentCaptor = ArgumentCaptor<MailAccount>()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment