mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Allow one-off email sending to select the reply-to address
This commit is contained in:
@@ -42,7 +42,13 @@ def test_client_gets_notifications_for_service_and_job_by_page(mocker, arguments
|
||||
|
||||
def test_send_notification(mocker, logged_in_client, active_user_with_permissions):
|
||||
mock_post = mocker.patch('app.notify_client.notification_api_client.NotificationApiClient.post')
|
||||
NotificationApiClient().send_notification('foo', template_id='bar', recipient='07700900001', personalisation=None)
|
||||
NotificationApiClient().send_notification(
|
||||
'foo',
|
||||
template_id='bar',
|
||||
recipient='07700900001',
|
||||
personalisation=None,
|
||||
sender_id=None
|
||||
)
|
||||
mock_post.assert_called_once_with(
|
||||
url='/service/foo/send-notification',
|
||||
data={
|
||||
|
||||
Reference in New Issue
Block a user