Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/apollo/apollo-appsyn…
Browse files Browse the repository at this point in the history
…c-amplify/src/androidTest/backend/aws-cdk-lib-2.177.0
  • Loading branch information
tylerjroach authored Jan 30, 2025
2 parents 68a3df3 + fc1be94 commit 54b08ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ class AWSCognitoAuthPluginEmailMFATests {
{ println("====== Subscription Established ======") },
{
println("====== Received some MFA Info ======")
mfaCode = it.data.code
latch?.countDown()
if (it.data.username == userName) {
mfaCode = it.data.code
latch?.countDown()
}
},
{ println("====== Subscription Failed $it ======") },
{ }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ class AWSCognitoAuthPluginUserAuthTests {
{ println("====== Subscription Established ======") },
{
println("====== Received some MFA Info ======")
otpCode = it.data.code
latch?.countDown()
if (it.data.username == userName) {
otpCode = it.data.code
latch?.countDown()
}
},
{ println("====== Subscription Failed $it ======") },
{ }
Expand Down

0 comments on commit 54b08ec

Please sign in to comment.