Update the tests for the new text

This commit is contained in:
Rebecca Law
2016-12-09 12:28:28 +00:00
parent e97c3bcc73
commit 8c9e7b2d68
2 changed files with 4 additions and 2 deletions

View File

@@ -34,7 +34,8 @@ def get_invited_user_by_token(token):
max_age_seconds)
except SignatureExpired:
errors = {'invitation':
['Your invitation to GOV.UK Notify has expired. Please ask the person that invited you to send you another one']}
['Your invitation to GOV.UK Notify has expired. '
'Please ask the person that invited you to send you another one']}
raise InvalidRequest(errors, status_code=400)
invited_user = get_invited_user_by_id(invited_user_id)