Merge pull request #992 from GSA/notify-admin-1396

Exception Investigation: app.notify_client:InviteTokenError
This commit is contained in:
Carlo Costino
2024-05-31 11:35:20 -04:00
committed by GitHub
5 changed files with 159 additions and 167 deletions

View File

@@ -249,7 +249,7 @@ def test_validate_invitation_token_for_expired_token_returns_400(client):
json_resp = json.loads(response.get_data(as_text=True))
assert json_resp["result"] == "error"
assert json_resp["message"] == {
"invitation": "Your invitation to GOV.UK Notify has expired. "
"invitation": "Your invitation to Notify.gov has expired. "
"Please ask the person that invited you to send you another one"
}

View File

@@ -335,7 +335,7 @@ def test_validate_invitation_token_for_expired_token_returns_400(client):
json_resp = json.loads(response.get_data(as_text=True))
assert json_resp["result"] == "error"
assert json_resp["message"] == {
"invitation": "Your invitation to GOV.UK Notify has expired. "
"invitation": "Your invitation to Notify.gov has expired. "
"Please ask the person that invited you to send you another one"
}