mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Update links missed in previous work
Includes those in: - the static 5xx error page - validation messaging - guidance page about trial mode - links used in tests Issues raised in https://github.com/alphagov/notifications-admin/pull/3303#issuecomment-589572715
This commit is contained in:
@@ -263,7 +263,7 @@ def test_non_gov_user_cannot_see_change_email_link(
|
||||
):
|
||||
client_request.login(api_nongov_user_active)
|
||||
page = client_request.get('main.user_profile')
|
||||
assert '<a href="/user-profile/email">' not in str(page)
|
||||
assert '<a class="govuk-link govuk-link--no-visited-state" href="/user-profile/email">' not in str(page)
|
||||
assert page.select_one('h1').text.strip() == 'Your profile'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user