Merge pull request #3215 from alphagov/add-contraction-to-errors

Update error messages
This commit is contained in:
karlchillmaid
2019-12-04 12:34:04 +00:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ def test_choose_account_should_not_show_back_to_service_link_if_service_archived
)),
(service_two, 403, (
# Page has no back to link
'You are not allowed to see this page '
'Youre not allowed to see this page '
'To check your permissions, speak to a member of your team who can manage settings, team and usage.'
)),
))

View File

@@ -415,7 +415,7 @@ def test_signed_in_existing_user_cannot_use_anothers_invite(
_follow_redirects=True,
_expected_status=403,
)
assert page.h1.string.strip() == 'You are not allowed to see this page'
assert page.h1.string.strip() == 'Youre not allowed to see this page'
flash_banners = page.find_all('div', class_='banner-dangerous')
assert len(flash_banners) == 1
banner_contents = flash_banners[0].text.strip()