mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Fix broken links
There were still a few links pointing to `/features/using-notify`
This commit is contained in:
@@ -521,7 +521,10 @@ def test_html_contains_links_for_failed_notifications(
|
||||
mock_get_service_data_retention,
|
||||
mocker,
|
||||
):
|
||||
mock_get_notifications(mocker, active_user_with_permissions, noti_status='technical-failure')
|
||||
mock_get_notifications(mocker,
|
||||
active_user_with_permissions,
|
||||
diff_template_type="sms",
|
||||
noti_status='technical-failure')
|
||||
response = client_request.get(
|
||||
'main.view_notifications',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
|
||||
@@ -114,6 +114,15 @@ def test_old_static_pages_redirect(
|
||||
)
|
||||
|
||||
|
||||
def test_message_status_page_contains_message_status_ids(client_request):
|
||||
# The 'email-statuses' and 'sms-statuses' id are linked to when we display a message status,
|
||||
# so this test ensures we don't accidentally remove them
|
||||
page = client_request.get('main.message_status')
|
||||
|
||||
assert page.find(id='email-statuses')
|
||||
assert page.find(id='sms-statuses')
|
||||
|
||||
|
||||
def test_old_using_notify_page(client_request):
|
||||
client_request.get('main.using_notify', _expected_status=410)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user