mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Updated to send email through the client send_email.
This commit is contained in:
@@ -72,4 +72,4 @@ def test_phone_number_rejects_invalid_values(phone_number, error_message):
|
||||
def test_phone_number_outputs_in_correct_format(phone_number):
|
||||
form = FormExample(phone_number=phone_number)
|
||||
form.validate()
|
||||
assert form.phone_number.data == '+44 7123 456 789'
|
||||
assert form.phone_number.data == '+447123456789'
|
||||
|
||||
@@ -107,7 +107,7 @@ def test_should_update_mobile_number_resend_code(app_,
|
||||
assert response.status_code == 302
|
||||
assert response.location == url_for('main.verify', _external=True)
|
||||
updated_user = users_dao.get_user_by_id(user.id)
|
||||
assert updated_user.mobile_number == '+44 7700 900 460'
|
||||
assert updated_user.mobile_number == '+447700900460'
|
||||
|
||||
|
||||
def test_should_render_verification_code_not_received(app_,
|
||||
|
||||
Reference in New Issue
Block a user