Skip to content

Commit

Permalink
chore: update more integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Nov 24, 2024
1 parent d0c0fce commit 607df25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ class PasswordlessConfirmSignUpTests: AWSAuthBaseTest {
}

switch cognitoError {
case .userNotFound, .codeMismatch:
case .userNotFound, .codeMismatch, .codeExpired:
return
default:
XCTFail("Error should be either `.userNotFound` or `.codeMismatch`")
XCTFail("Error should be either `.userNotFound` or `.codeMismatch` or `.codeExpired`")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import SwiftUI
@main
struct AuthWebAuthnAppApp: App {

private let amplifyOutputsFilePath = "testconfiguration/AWSCognitoPluginPasswordlessIntegrationTests-amplify_outputs"
private let amplifyOutputsFilePath = "testconfiguration/AWSCognitoPluginWebAuthnIntegrationTests-amplify_outputs"

init() {
do {
Expand Down

0 comments on commit 607df25

Please sign in to comment.