Skip to content

Commit 7194840

Browse files
authored
test(Auth): ConfirmSignIn unit tests (#984)
* rebase * ConfirmSignIn unit tests PR * Update Podfile.lock Co-authored-by: Guo <[email protected]>
1 parent 0f10e94 commit 7194840

File tree

3 files changed

+713
-5
lines changed

3 files changed

+713
-5
lines changed

AmplifyPlugins/Auth/AWSCognitoAuthPlugin/Request/AuthConfirmSignInRequest+Validate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ extension AuthConfirmSignInRequest {
1212
func hasError() -> AuthError? {
1313
guard !challengeResponse.isEmpty else {
1414
return AuthError.validation(AuthPluginErrorConstants.confirmSignInChallengeResponseError.field,
15-
AuthPluginErrorConstants.confirmSignInChallengeResponseError.errorDescription,
16-
AuthPluginErrorConstants.confirmSignInChallengeResponseError.recoverySuggestion)
15+
AuthPluginErrorConstants.confirmSignInChallengeResponseError.errorDescription,
16+
AuthPluginErrorConstants.confirmSignInChallengeResponseError.recoverySuggestion)
1717
}
1818
return nil
1919
}

0 commit comments

Comments
 (0)