Skip to content

Commit 944fc4b

Browse files
committed
chore: remove username login sms user pool from sms tests because it uses username to login and not phone number
1 parent 6de4283 commit 944fc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/test/amplify_auth_integration_test/lib/src/environments.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const mfaOptionalEmailTotp = EnvironmentInfo.withGen2Defaults(
106106
/// An environment with required MFA and username login.
107107
const mfaRequiredUsernameLogin = EnvironmentInfo.withGen2Defaults(
108108
name: 'username-login-mfa',
109-
mfaInfo: MfaInfo(smsEnabled: true, totpEnabled: true, emailEnabled: true, required: true),
109+
mfaInfo: MfaInfo(totpEnabled: true, emailEnabled: true, required: true),
110110
loginMethod: LoginMethod.username,
111111
);
112112

0 commit comments

Comments
 (0)