From 02bffa8c12f58018ebdf0369f199fdb4dbd8fb66 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 3 Dec 2024 17:15:52 -0800 Subject: [PATCH] fixed testing --- tests/app/main/views/test_accept_invite.py | 2 +- tests/app/main/views/test_templates.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/main/views/test_accept_invite.py b/tests/app/main/views/test_accept_invite.py index 59c4651c6..ef5e56fda 100644 --- a/tests/app/main/views/test_accept_invite.py +++ b/tests/app/main/views/test_accept_invite.py @@ -269,7 +269,7 @@ def test_invite_goes_in_session( ("user", "landing_page_title"), [ (create_active_user_with_permissions(), "Dashboard"), - (create_active_caseworking_user(), "Templates"), + (create_active_caseworking_user(), "Select or create a template"), ], ) def test_accepting_invite_removes_invite_from_session( diff --git a/tests/app/main/views/test_templates.py b/tests/app/main/views/test_templates.py index 7676d0f17..68ec6f219 100644 --- a/tests/app/main/views/test_templates.py +++ b/tests/app/main/views/test_templates.py @@ -581,9 +581,9 @@ def test_should_be_able_to_view_a_template_with_links( _test_page_title=False, ) - assert normalize_spaces(page.select_one("h1").text) == ("Review your message") + assert normalize_spaces(page.select_one("h1").text) == ("Confirm your template") assert normalize_spaces(page.select_one("title").text) == ( - "Two week reminder – Select or create a template – service one – Notify.gov" + "Confirm your template – service one – Notify.gov" ) assert [