Skip to content

Commit

Permalink
Stub twilio when testing personal key as mfa (#2644)
Browse files Browse the repository at this point in the history
**Why**:
Now we send a text when a user generates a new personal key.
  • Loading branch information
jgsmith-usds authored Nov 5, 2018
1 parent 4667492 commit 6b46f6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
end

scenario 'resets password, uses personal key as 2fa', email: true do
stub_twilio_service
personal_key = personal_key_from_pii(user, pii)

trigger_reset_password_and_click_email_link(user.email)
Expand Down

0 comments on commit 6b46f6a

Please sign in to comment.