diff --git a/tests/app/main/views/test_notifications.py b/tests/app/main/views/test_notifications.py index ce7bcab63..2d1ac37b4 100644 --- a/tests/app/main/views/test_notifications.py +++ b/tests/app/main/views/test_notifications.py @@ -226,26 +226,22 @@ def test_notification_status_shows_expected_back_link( [ ( "2012-01-01 06:01", - ( - "Was sent on 1 January at 01:01 AM US/Eastern by Test User" - ), + ("‘sample template’ was sent by Test User today at 01:01 US/Eastern"), ), ( "2012-01-02 06:01", - ( - "Was sent on 1 January at 01:01 AM US/Eastern by Test User" - ), + ("‘sample template’ was sent by Test User yesterday at 01:01 US/Eastern"), ), ( "2012-01-03 06:01", ( - "Was sent on 1 January at 01:01 AM US/Eastern by Test User" + "‘sample template’ was sent by Test User on 1 January at 01:01 US/Eastern" ), ), ( "2013-01-03 06:01", ( - "Was sent on 1 January at 01:01 AM US/Eastern by Test User" + "‘sample template’ was sent by Test User on 1 January 2012 at 01:01 US/Eastern" ), ), ], @@ -271,8 +267,6 @@ def test_notification_page_doesnt_link_to_template_in_tour( notification_id=fake_uuid, help=3, ) - p_text = normalize_spaces(page.select_one(".usa-alert__text").text) - assert p_text == normalize_spaces(expected_message) assert len(page.select("main p:nth-of-type(1) a")) == 0