Merge pull request #3324 from alphagov/change-forgot-to-forgotten

Change forgot to forgotten
This commit is contained in:
karlchillmaid
2020-02-24 12:45:17 +00:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ def test_render_sign_in_template_for_new_user(
assert page.select_one('#password')['autocomplete'] == 'current-password'
assert page.select('main a')[0].text == 'create one now'
assert page.select('main a')[0]['href'] == url_for('main.register')
assert page.select('main a')[1].text == 'Forgot your password?'
assert page.select('main a')[1].text == 'Forgotten your password?'
assert page.select('main a')[1]['href'] == url_for('main.forgot_password')
assert 'Sign in again' not in normalize_spaces(page.text)