diff --git a/tests/app/celery/test_tasks.py b/tests/app/celery/test_tasks.py index 77641f10c..d4081fc97 100644 --- a/tests/app/celery/test_tasks.py +++ b/tests/app/celery/test_tasks.py @@ -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" ) diff --git a/tests/app/organization/test_invite_rest.py b/tests/app/organization/test_invite_rest.py index 3b3c2387d..23a65dda1 100644 --- a/tests/app/organization/test_invite_rest.py +++ b/tests/app/organization/test_invite_rest.py @@ -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 )