trim non-existant pages further

This commit is contained in:
stvnrlly
2022-11-02 11:02:32 -04:00
parent 9692185cd6
commit 3386317f5b
6 changed files with 3 additions and 16 deletions

View File

@@ -163,7 +163,6 @@ def test_guidance_pages_link_to_service_pages_when_signed_in(
('old_using_notify', 'using_notify'),
('delivery_and_failure', 'message_status'),
('callbacks', 'documentation'),
('who_its_for', 'who_can_use_notify'),
])
def test_old_static_pages_redirect(
client_request,

View File

@@ -125,7 +125,7 @@ def test_should_return_200_when_email_is_not_gov_uk(
page.select_one('.govuk-error-message').text
)
assert page.select_one('.govuk-error-message a')['href'] == url_for(
'main.who_can_use_notify'
'main.features'
)

View File

@@ -332,7 +332,6 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
'webauthn_complete_register',
'webauthn_begin_authentication',
'webauthn_complete_authentication',
'who_can_use_notify',
'who_its_for',
}))