diff --git a/tests/integrations/celery/test_update_celery_task_headers.py b/tests/integrations/celery/test_update_celery_task_headers.py index 71b1d5b347..1680e54d80 100644 --- a/tests/integrations/celery/test_update_celery_task_headers.py +++ b/tests/integrations/celery/test_update_celery_task_headers.py @@ -52,6 +52,7 @@ def test_monitor_beat_tasks_with_headers(monitor_beat_tasks): assert headers == { "blub": "foo", "sentry-something": "bar", + "sentry-task-enqueued-time": mock.ANY, } # left unchanged if monitor_beat_tasks: