diff --git a/enzevalos_iphoneTests/authentication/AuthenticationTests.swift b/enzevalos_iphoneTests/authentication/AuthenticationTests.swift index adab180653b4e70e796248512a72bcbf28583ac2..46ec9c172820eb352888e6d9e3d4c017ad595b6a 100644 --- a/enzevalos_iphoneTests/authentication/AuthenticationTests.swift +++ b/enzevalos_iphoneTests/authentication/AuthenticationTests.swift @@ -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>()