mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #304 from alphagov/add_valid_email_regexes
Add valid email regexes
This commit is contained in:
@@ -82,7 +82,8 @@ def test_should_return_200_when_email_is_not_gov_uk(app_,
|
||||
'password': 'validPassword!'})
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Enter a gov.uk email address' in response.get_data(as_text=True)
|
||||
print(response.get_data(as_text=True))
|
||||
assert 'Enter a central government email address' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_add_user_details_to_session(app_,
|
||||
|
||||
Reference in New Issue
Block a user