This commit is contained in:
Kenneth Kehl
2025-01-10 14:35:03 -08:00
parent 6f7c7d2d66
commit c6d098743d
2 changed files with 3 additions and 3 deletions

View File

@@ -738,7 +738,7 @@ def test_should_use_email_template_subject_placeholders(
assert not persisted_notification.reference
assert persisted_notification.notification_type == NotificationType.EMAIL
provider_tasks.deliver_email.apply_async.assert_called_once_with(
[str(persisted_notification.id)], queue="send-email-tasks", countdown=30
[str(persisted_notification.id)], queue="send-email-tasks"
)
@@ -822,7 +822,7 @@ def test_should_use_email_template_and_persist_without_personalisation(
assert not persisted_notification.reference
assert persisted_notification.notification_type == NotificationType.EMAIL
provider_tasks.deliver_email.apply_async.assert_called_once_with(
[str(persisted_notification.id)], queue="send-email-tasks", countdown=30
[str(persisted_notification.id)], queue="send-email-tasks"
)

View File

@@ -73,7 +73,7 @@ def test_create_invited_org_user(
# assert len(notification.personalisation["url"]) > len(expected_start_of_invite_url)
mocked.assert_called_once_with(
[(str(notification.id))], queue="notify-internal-tasks"
[(str(notification.id))], queue="notify-internal-tasks", countdown=30
)