mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 19:48:25 -04:00
Make missed content changes on password sent page
Lose the ‘now‘ like in: https://github.com/alphagov/notifications-admin/pull/877 Lose the ‘we‘ like in: https://github.com/alphagov/notifications-admin/pull/884
This commit is contained in:
@@ -8,9 +8,9 @@ GOV.UK Notify
|
|||||||
|
|
||||||
<div class="grid-row">
|
<div class="grid-row">
|
||||||
<div class="column-two-thirds">
|
<div class="column-two-thirds">
|
||||||
<h1 class="heading-large">Now check your email</h1>
|
<h1 class="heading-large">Check your email</h1>
|
||||||
|
|
||||||
<p>We’ve sent you an email with a link to reset your password.</p>
|
<p>Click the link in the email to reset your password.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ def test_should_redirect_to_password_reset_sent_for_valid_email(
|
|||||||
url_for('.forgot_password'),
|
url_for('.forgot_password'),
|
||||||
data={'email_address': api_user_active.email_address})
|
data={'email_address': api_user_active.email_address})
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
assert 'We’ve sent you an email with a link to reset your password.' \
|
assert 'Click the link in the email to reset your password.' \
|
||||||
in response.get_data(as_text=True)
|
in response.get_data(as_text=True)
|
||||||
app.user_api_client.send_reset_password_url.assert_called_once_with(api_user_active.email_address)
|
app.user_api_client.send_reset_password_url.assert_called_once_with(api_user_active.email_address)
|
||||||
|
|
||||||
@@ -39,6 +39,6 @@ def test_should_redirect_to_password_reset_sent_for_missing_email(
|
|||||||
url_for('.forgot_password'),
|
url_for('.forgot_password'),
|
||||||
data={'email_address': api_user_active.email_address})
|
data={'email_address': api_user_active.email_address})
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
assert 'We’ve sent you an email with a link to reset your password.' \
|
assert 'Click the link in the email to reset your password.' \
|
||||||
in response.get_data(as_text=True)
|
in response.get_data(as_text=True)
|
||||||
app.user_api_client.send_reset_password_url.assert_called_once_with(api_user_active.email_address)
|
app.user_api_client.send_reset_password_url.assert_called_once_with(api_user_active.email_address)
|
||||||
|
|||||||
Reference in New Issue
Block a user