MESSENGER-5413 authentication hotspots

This commit is contained in:
Frank Rotermund
2024-01-30 13:23:04 +01:00
parent ebbd5a5c78
commit bc7c98448b
6 changed files with 23 additions and 23 deletions
@@ -40,11 +40,11 @@ enum MockAuthenticationChoosePasswordScreenState: MockScreenState, CaseIterable
case .emptyPassword:
viewModel = AuthenticationChoosePasswordViewModel()
case .enteredInvalidPassword:
viewModel = AuthenticationChoosePasswordViewModel(password: "1234")
viewModel = AuthenticationChoosePasswordViewModel(password: "1234") //NOSONAR Password for mock Unittests
case .enteredValidPassword:
viewModel = AuthenticationChoosePasswordViewModel(password: "12345678")
viewModel = AuthenticationChoosePasswordViewModel(password: "12345678") //NOSONAR Password for mock Unittests
case .enteredValidPasswordAndSignoutAllDevicesChecked:
viewModel = AuthenticationChoosePasswordViewModel(password: "12345678", signoutAllDevices: true)
viewModel = AuthenticationChoosePasswordViewModel(password: "12345678", signoutAllDevices: true) //NOSONAR Password for mock Unittests
}
// can simulate service and viewModel actions here if needs be.