From 184ea5b92b573c998b6a739fc1ffd0ede118e5e0 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 4 Mar 2019 11:14:35 +0000 Subject: [PATCH] Update the message when changing a users mobile phone number. --- .../views/manage-users/confirm-edit-user-mobile-number.html | 2 +- tests/app/main/views/test_manage_users.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/manage-users/confirm-edit-user-mobile-number.html b/app/templates/views/manage-users/confirm-edit-user-mobile-number.html index 99265137e..461035f24 100644 --- a/app/templates/views/manage-users/confirm-edit-user-mobile-number.html +++ b/app/templates/views/manage-users/confirm-edit-user-mobile-number.html @@ -17,7 +17,7 @@

{{ new_mobile_number }}

-

We will send {{ user.name }} an email to tell them about the change.

+

We will send {{ user.name }} a text message to tell them about the change.

{{ page_footer( 'Confirm', destructive=destructive, diff --git a/tests/app/main/views/test_manage_users.py b/tests/app/main/views/test_manage_users.py index 8a04c3625..46c48f60f 100644 --- a/tests/app/main/views/test_manage_users.py +++ b/tests/app/main/views/test_manage_users.py @@ -1124,7 +1124,7 @@ def test_confirm_edit_user_mobile_number_page( for text in [ 'New mobile number:', new_number, - 'We will send {} an email to tell them about the change.'.format(active_user_with_permissions.name) + 'We will send {} a text message to tell them about the change.'.format(active_user_with_permissions.name) ]: assert text in response.get_data(as_text=True) assert 'Confirm' in response.get_data(as_text=True)