diff --git a/tests/app/main/views/test_notifications.py b/tests/app/main/views/test_notifications.py index 0425bbaba..d2ca2db49 100644 --- a/tests/app/main/views/test_notifications.py +++ b/tests/app/main/views/test_notifications.py @@ -578,7 +578,7 @@ def test_notifification_page_shows_error_message_if_precompiled_letter_cannot_be ) error_message = page.find('p', class_='notification-status-cancelled').text - assert normalize_spaces(error_message) == "Validation failed – this is not a PDF file that Notify can read" + assert normalize_spaces(error_message) == "Validation failed – Notify cannot read this PDF file" def test_should_404_for_unknown_extension(