Update error message for invalid email addresses

It has a trailing full stop since:
https://github.com/alphagov/notifications-utils/pull/76
This commit is contained in:
Chris Hill-Scott
2016-11-01 15:20:28 +00:00
parent 8474344c9a
commit 988bf06132
3 changed files with 4 additions and 4 deletions

View File

@@ -470,7 +470,7 @@ def test_send_user_reset_password_should_return_400_when_data_is_not_email_addre
headers=[('Content-Type', 'application/json'), auth_header])
assert resp.status_code == 400
assert json.loads(resp.get_data(as_text=True))['message'] == {'email': ['Not a valid email address']}
assert json.loads(resp.get_data(as_text=True))['message'] == {'email': ['Not a valid email address.']}
@freeze_time("2016-01-01 11:09:00.061258")