From 9865c2916fce2375dffd88ab755ecd2b42b8f2e1 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 6 Sep 2016 16:38:21 +0100 Subject: [PATCH] Reword resend email page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes the wording to match: https://github.com/alphagov/notifications-admin/blob/166870c5362fecd856006f264e3fe182440b87c4/app/templates/views/registration-continue.html#L10 We don’t use ‘we‘. The ‘in order to‘ bit is unnecessarily verbose. --- app/templates/views/resend-email-verification.html | 2 +- tests/app/main/views/test_code_not_received.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/resend-email-verification.html b/app/templates/views/resend-email-verification.html index 28387c233..928fac5b3 100644 --- a/app/templates/views/resend-email-verification.html +++ b/app/templates/views/resend-email-verification.html @@ -11,7 +11,7 @@

Check your email

-

In order to verify your email address we've sent a new confirmation link to {{email}}

+

A new confirmation email has been sent to {{email}}

diff --git a/tests/app/main/views/test_code_not_received.py b/tests/app/main/views/test_code_not_received.py index 09c252424..2af71cece 100644 --- a/tests/app/main/views/test_code_not_received.py +++ b/tests/app/main/views/test_code_not_received.py @@ -21,7 +21,7 @@ def test_should_render_email_verification_resend_show_email_address_and_resend_v page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser') assert page.h1.string == 'Check your email' - expected = "In order to verify your email address we've sent a new confirmation link to {}".format(api_user_active.email_address) # noqa + expected = "A new confirmation email has been sent to {}".format(api_user_active.email_address) message = page.find_all('p')[1].text assert message == expected