mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
Update the message when changing a users mobile phone number.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user