mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 21:20:32 -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">
|
||||
<p>{{ new_mobile_number }}</p>
|
||||
</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(
|
||||
'Confirm',
|
||||
destructive=destructive,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user