Update the message when changing a users mobile phone number.

This commit is contained in:
Rebecca Law
2019-03-04 11:14:35 +00:00
parent 29c8f0924f
commit 184ea5b92b
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
<div class="panel panel-border-wide bottom-gutter"> <div class="panel panel-border-wide bottom-gutter">
<p>{{ new_mobile_number }}</p> <p>{{ new_mobile_number }}</p>
</div> </div>
<p>We will send {{ user.name }} an email to tell them about the change.</p> <p>We will send {{ user.name }} a text message to tell them about the change.</p>
{{ page_footer( {{ page_footer(
'Confirm', 'Confirm',
destructive=destructive, destructive=destructive,

View File

@@ -1124,7 +1124,7 @@ def test_confirm_edit_user_mobile_number_page(
for text in [ for text in [
'New mobile number:', 'New mobile number:',
new_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 text in response.get_data(as_text=True)
assert 'Confirm' in response.get_data(as_text=True) assert 'Confirm' in response.get_data(as_text=True)