From cbfb37f7c81311523b8b9a3a2b6d64a0a1d34144 Mon Sep 17 00:00:00 2001 From: jesse Date: Wed, 28 Oct 2026 17:23:17 +0800 Subject: [PATCH] test: list /rectification in the capability audit app routes (issue #145) Staging gate run 2009 failed on test_capability_audit_scans_registry_and_local_sources: the new app route app/(app)/rectification was not in the expected list. Co-Authored-By: Claude Opus 5.5 --- tests/test_api_server_security.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_api_server_security.py b/tests/test_api_server_security.py index 8548d2f1..fa0e4a3d 100644 --- a/tests/test_api_server_security.py +++ b/tests/test_api_server_security.py @@ -1637,6 +1637,10 @@ def test_capability_audit_scans_registry_and_local_sources() -> None: # 新值: 加入 privacy(people 与 reports 之间)和 terms(末尾) # 原因: 隐私政策与用户协议是未登录也能打开的公开页面(2026-09-30 合规轮) 'privacy', + # 原值: privacy 后面直接是 reports + # 新值: 中间加入 rectification + # 原因: 生时校正独立入口 app/(app)/rectification(issue #145) + 'rectification', 'reports', 'reports/[reportId]', # 原值: reports/[reportId] 后面直接是 terms