mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
fix uuid
This commit is contained in:
@@ -150,7 +150,7 @@ def test_send_notification_with_placeholders_replaced(
|
||||
{"template_version": sample_email_template_with_placeholders.version}
|
||||
)
|
||||
|
||||
mocked.assert_called_once_with([notification_id], queue="send-email-tasks")
|
||||
mocked.assert_called_once_with([notification_id], queue="send-email-tasks", countdown=30)
|
||||
assert response.status_code == 201
|
||||
assert response_data["body"] == "Hello Jo\nThis is an email from GOV.UK"
|
||||
assert response_data["subject"] == "Jo"
|
||||
@@ -1185,7 +1185,7 @@ def test_should_allow_store_original_number_on_sms_notification(
|
||||
response_data = json.loads(response.data)["data"]
|
||||
notification_id = response_data["notification"]["id"]
|
||||
|
||||
mocked.assert_called_once_with([notification_id], queue="send-sms-tasks")
|
||||
mocked.assert_called_once_with([notification_id], queue="send-sms-tasks", countdown=30)
|
||||
assert response.status_code == 201
|
||||
assert notification_id
|
||||
notifications = Notification.query.all()
|
||||
|
||||
Reference in New Issue
Block a user