diff --git a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/PasswordlessTests/PasswordlessConfirmSignUpTests.swift b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/PasswordlessTests/PasswordlessConfirmSignUpTests.swift index dcebe6e7fb..2086343e7d 100644 --- a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/PasswordlessTests/PasswordlessConfirmSignUpTests.swift +++ b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/PasswordlessTests/PasswordlessConfirmSignUpTests.swift @@ -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`") } } } diff --git a/AmplifyPlugins/Auth/Tests/AuthWebAuthnApp/AuthWebAuthnApp/AuthWebAuthnAppApp.swift b/AmplifyPlugins/Auth/Tests/AuthWebAuthnApp/AuthWebAuthnApp/AuthWebAuthnAppApp.swift index 795b463849..4b40cb1f65 100644 --- a/AmplifyPlugins/Auth/Tests/AuthWebAuthnApp/AuthWebAuthnApp/AuthWebAuthnAppApp.swift +++ b/AmplifyPlugins/Auth/Tests/AuthWebAuthnApp/AuthWebAuthnApp/AuthWebAuthnAppApp.swift @@ -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 {