File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/auth/amplify_auth_cognito/example/integration_test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void main() {
35
35
signInRes.nextStep.signInStep,
36
36
because: 'MFA is required, and TOTP is chosen when '
37
37
'no phone number is registered' ,
38
- ).equals (AuthSignInStep .continueSignInWithTotpSetup );
38
+ ).equals (AuthSignInStep .continueSignInWithMfaSetupSelection );
39
39
40
40
final sharedSecret = signInRes.nextStep.totpSetupDetails! .sharedSecret;
41
41
final setupRes = await Amplify .Auth .confirmSignIn (
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void main() {
34
34
signInRes.nextStep.signInStep,
35
35
because:
36
36
"TOTP MFA is automatically enabled when it's the only option" ,
37
- ).equals (AuthSignInStep .continueSignInWithTotpSetup );
37
+ ).equals (AuthSignInStep .continueSignInWithMfaSetupSelection );
38
38
39
39
final sharedSecret = signInRes.nextStep.totpSetupDetails! .sharedSecret;
40
40
final setupRes = await Amplify .Auth .confirmSignIn (
You can’t perform that action at this time.
0 commit comments