Skip to content

Commit 607df25

Browse files
committed
chore: update more integration tests
1 parent d0c0fce commit 607df25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/PasswordlessTests/PasswordlessConfirmSignUpTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ class PasswordlessConfirmSignUpTests: AWSAuthBaseTest {
6161
}
6262

6363
switch cognitoError {
64-
case .userNotFound, .codeMismatch:
64+
case .userNotFound, .codeMismatch, .codeExpired:
6565
return
6666
default:
67-
XCTFail("Error should be either `.userNotFound` or `.codeMismatch`")
67+
XCTFail("Error should be either `.userNotFound` or `.codeMismatch` or `.codeExpired`")
6868
}
6969
}
7070
}

AmplifyPlugins/Auth/Tests/AuthWebAuthnApp/AuthWebAuthnApp/AuthWebAuthnAppApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import SwiftUI
1212
@main
1313
struct AuthWebAuthnAppApp: App {
1414

15-
private let amplifyOutputsFilePath = "testconfiguration/AWSCognitoPluginPasswordlessIntegrationTests-amplify_outputs"
15+
private let amplifyOutputsFilePath = "testconfiguration/AWSCognitoPluginWebAuthnIntegrationTests-amplify_outputs"
1616

1717
init() {
1818
do {

0 commit comments

Comments
 (0)