mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 22:18:24 -04:00
Added fixes for forms to hide potential email philshing scams.
This commit is contained in:
@@ -3,7 +3,7 @@ from app.main.forms import RegisterUserForm
|
||||
|
||||
|
||||
def test_should_raise_validation_error_for_password(app_, mock_get_user_by_email):
|
||||
form = RegisterUserForm(users_dao.get_user_by_email)
|
||||
form = RegisterUserForm()
|
||||
form.name.data = 'test'
|
||||
form.email_address.data = 'teset@example.gov.uk'
|
||||
form.mobile_number.data = '+441231231231'
|
||||
|
||||
Reference in New Issue
Block a user