mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Merge pull request #3452 from alphagov/update-who-its-for-content
Update and move the 'who it's for' page
This commit is contained in:
@@ -83,7 +83,7 @@ def test_robots(client):
|
||||
'features_letters', 'how_to_pay', 'get_started',
|
||||
'guidance_index', 'branding_and_customisation',
|
||||
'create_and_send_messages', 'edit_and_format_messages',
|
||||
'send_files_by_email', 'upload_a_letter', 'who_its_for',
|
||||
'send_files_by_email', 'upload_a_letter', 'who_can_use_notify',
|
||||
])
|
||||
def test_static_pages(
|
||||
client_request,
|
||||
@@ -147,6 +147,7 @@ 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,
|
||||
|
||||
@@ -117,7 +117,7 @@ def test_should_return_200_when_email_is_not_gov_uk(
|
||||
'Enter a public sector email address or find out who can use Notify'
|
||||
)
|
||||
assert page.select_one('.error-message a')['href'] == url_for(
|
||||
'main.who_its_for'
|
||||
'main.who_can_use_notify'
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user