mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Use service ID, not from token to build notification
This commit is contained in:
@@ -487,7 +487,7 @@ def test_should_allow_valid_sms_notification_for_job(notify_api, sample_job, moc
|
||||
|
||||
notification_id = json.loads(response.data)['notification_id']
|
||||
app.celery.tasks.send_sms.apply_async.assert_called_once_with(
|
||||
(str(sample_job.template.service_id),
|
||||
(str(sample_job.service_id),
|
||||
notification_id,
|
||||
"something_encrypted"),
|
||||
queue="sms"
|
||||
|
||||
Reference in New Issue
Block a user