mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 12:19:47 -04:00
Tell API what URL to use for email auth links
So that we can keep people on the prototype URL when doing user research. Depends on: - [ ] https://github.com/alphagov/notifications-api/pull/1645
This commit is contained in:
@@ -117,6 +117,7 @@ def test_process_email_auth_sign_in_return_2fa_template(
|
||||
'password': 'val1dPassw0rd!'})
|
||||
assert response.status_code == 302
|
||||
assert response.location == url_for('.two_factor_email_sent', _external=True)
|
||||
mock_send_verify_code.assert_called_with(api_user_active_email_auth.id, 'email', None)
|
||||
mock_verify_password.assert_called_with(api_user_active_email_auth.id, 'val1dPassw0rd!')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user