diff --git a/app/templates/views/add-service.html b/app/templates/views/add-service.html index cd1e90466..5323d3f87 100644 --- a/app/templates/views/add-service.html +++ b/app/templates/views/add-service.html @@ -31,9 +31,7 @@ GOV.UK Notify | Set up service
diff --git a/app/templates/views/email-not-received.html b/app/templates/views/email-not-received.html index 0ebb1e64d..935791da2 100644 --- a/app/templates/views/email-not-received.html +++ b/app/templates/views/email-not-received.html @@ -13,13 +13,11 @@ GOV.UK NotifyCheck your email address is correct and then resend the confirmation code.
--
- + + diff --git a/app/templates/views/new-password.html b/app/templates/views/new-password.html index e33632a49..e727317f9 100644 --- a/app/templates/views/new-password.html +++ b/app/templates/views/new-password.html @@ -11,16 +11,20 @@ GOV.UK NotifyYou can now create a new password for your account.
- - ++ You can now create a new password for your account. +
+ {% else %} - Message about email address does not exist. Some one needs to figure out the words here. ++ Message about email address does not exist. Some one needs to figure out the words here. +
{% endif %}If you've used GOV.UK Notify before, sign in to your account.
- diff --git a/app/templates/views/verify.html b/app/templates/views/verify.html index b6fba7936..1879ad0b1 100644 --- a/app/templates/views/verify.html +++ b/app/templates/views/verify.html @@ -16,9 +16,13 @@ GOV.UK Notify | Confirm email address and mobile number diff --git a/tests/app/main/views/test_new_password.py b/tests/app/main/views/test_new_password.py index 22c934cbc..a3a17061a 100644 --- a/tests/app/main/views/test_new_password.py +++ b/tests/app/main/views/test_new_password.py @@ -16,9 +16,8 @@ def test_should_render_new_password_template(app_, with app_.test_client() as client: token = generate_token(api_user_active.email_address) response = client.get(url_for('.new_password', token=token)) - print(response.location) assert response.status_code == 200 - assert ' You can now create a new password for your account.' in response.get_data(as_text=True) + assert 'You can now create a new password for your account.' in response.get_data(as_text=True) @pytest.mark.skipif(True, reason='Password reset no implemented')