From 897b89ba6efb2495a7c1b1967dfec25e8da26a62 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 6 Sep 2016 17:11:44 +0100 Subject: [PATCH] Make missed content changes on password sent page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- app/templates/views/password-reset-sent.html | 4 ++-- tests/app/main/views/test_forgot_password.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/views/password-reset-sent.html b/app/templates/views/password-reset-sent.html index 5e9e62857..4d61c5ca6 100644 --- a/app/templates/views/password-reset-sent.html +++ b/app/templates/views/password-reset-sent.html @@ -8,9 +8,9 @@ GOV.UK Notify
-

Now check your email

+

Check your email

-

We’ve sent you an email with a link to reset your password.

+

Click the link in the email to reset your password.

diff --git a/tests/app/main/views/test_forgot_password.py b/tests/app/main/views/test_forgot_password.py index a195f3ea2..c10a1e711 100644 --- a/tests/app/main/views/test_forgot_password.py +++ b/tests/app/main/views/test_forgot_password.py @@ -22,7 +22,7 @@ def test_should_redirect_to_password_reset_sent_for_valid_email( url_for('.forgot_password'), data={'email_address': api_user_active.email_address}) 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) 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'), data={'email_address': api_user_active.email_address}) 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) app.user_api_client.send_reset_password_url.assert_called_once_with(api_user_active.email_address)