From 98240b4780ac5518508cb4b782ba90fb065546e6 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 23 Sep 2019 13:17:44 +0100 Subject: [PATCH] Fix test --- tests/app/main/views/test_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(