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:
karlchillmaid
2020-05-21 12:22:07 +01:00
committed by GitHub
9 changed files with 31 additions and 19 deletions

View File

@@ -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,

View File

@@ -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'
)