mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 18:08:57 -04:00
Reword resend email page
Changes the wording to match: 166870c536/app/templates/views/registration-continue.html (L10)
We don’t use ‘we‘.
The ‘in order to‘ bit is unnecessarily verbose.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-large">Check your email</h1>
|
||||
<p>In order to verify your email address we've sent a new confirmation link to {{email}}</p>
|
||||
<p>A new confirmation email has been sent to {{email}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user