From 0888a1f8a7b10301f0c324078fdef3accdda5a33 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Thu, 9 Jul 2026 19:45:25 -0700 Subject: [PATCH] test(api): follow centralized run event publisher --- tests/gateway/test_approval_prompt_redaction.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/gateway/test_approval_prompt_redaction.py b/tests/gateway/test_approval_prompt_redaction.py index fb57a8644a9..5950d6e3ccd 100644 --- a/tests/gateway/test_approval_prompt_redaction.py +++ b/tests/gateway/test_approval_prompt_redaction.py @@ -122,7 +122,9 @@ class TestApprovalCommandWiring: self._assert_redacts_then_uses(run, "_approval_notify_sync", "send_exec_approval") - def test_sse_api_path_redacts_before_enqueue(self): + def test_sse_api_path_redacts_before_publish(self): from gateway.platforms import api_server - self._assert_redacts_then_uses(api_server, "_approval_notify", "put_nowait") + self._assert_redacts_then_uses( + api_server, "_approval_notify", "_publish_run_event" + )