mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Rename the feature to ‘send to one recipient’
‘One-off’ is a bit wooly. Feels like our name for the thing. ‘Send to one recipient’ matches ‘Upload recipients’. This also means making the `<h1>` on job page ‘Report’ for one-off messages. It doesn’t make sense to call the feature ‘send to one recipient’ when we’re not using the language of one-off any more.
This commit is contained in:
@@ -295,7 +295,7 @@ def test_send_test_sms_message(
|
||||
assert response.status_code == 200
|
||||
mock_s3_upload.assert_called_with(
|
||||
service_one['id'],
|
||||
{'data': 'phone number\r\n07700 900762\r\n', 'file_name': 'One-off message'},
|
||||
{'data': 'phone number\r\n07700 900762\r\n', 'file_name': 'Report'},
|
||||
'eu-west-1'
|
||||
)
|
||||
|
||||
@@ -339,12 +339,12 @@ def test_send_test_step_redirects_if_session_not_setup(
|
||||
(
|
||||
mock_get_service_template_with_placeholders,
|
||||
partial(url_for, 'main.send_test'),
|
||||
'Send one-off message',
|
||||
'Send to one recipient',
|
||||
),
|
||||
(
|
||||
mock_get_service_template_with_placeholders,
|
||||
partial(url_for, 'main.send_one_off'),
|
||||
'Send one-off message',
|
||||
'Send to one recipient',
|
||||
),
|
||||
(
|
||||
mock_get_service_template_with_placeholders,
|
||||
@@ -359,12 +359,12 @@ def test_send_test_step_redirects_if_session_not_setup(
|
||||
(
|
||||
mock_get_service_email_template,
|
||||
partial(url_for, 'main.send_test'),
|
||||
'Send one-off message',
|
||||
'Send to one recipient',
|
||||
),
|
||||
(
|
||||
mock_get_service_email_template,
|
||||
partial(url_for, 'main.send_one_off'),
|
||||
'Send one-off message',
|
||||
'Send to one recipient',
|
||||
),
|
||||
(
|
||||
mock_get_service_letter_template,
|
||||
@@ -603,7 +603,7 @@ def test_send_test_email_message_without_placeholders(
|
||||
assert response.status_code == 200
|
||||
mock_s3_upload.assert_called_with(
|
||||
service_one['id'],
|
||||
{'data': 'email address\r\ntest@user.gov.uk\r\n', 'file_name': 'One-off message'},
|
||||
{'data': 'email address\r\ntest@user.gov.uk\r\n', 'file_name': 'Report'},
|
||||
'eu-west-1'
|
||||
)
|
||||
|
||||
@@ -824,7 +824,7 @@ def test_send_test_sms_message_puts_submitted_data_in_session_and_file(
|
||||
service_one['id'],
|
||||
{
|
||||
'data': 'name,phone number\r\nJo,07700 900762\r\n',
|
||||
'file_name': 'One-off message'
|
||||
'file_name': 'Report'
|
||||
},
|
||||
'eu-west-1'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user