From 67fc800b4d5b75bca8db2b0b4bf4cce4e790b46b Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Thu, 15 Oct 2026 16:11:42 +0200 Subject: [PATCH] test(role_gate): list the notices route without its query Co-Authored-By: Claude Opus 5.5 --- compliance-agent/src/api/role_gate/router_tests.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/compliance-agent/src/api/role_gate/router_tests.rs b/compliance-agent/src/api/role_gate/router_tests.rs index 918d556..bb63086 100644 --- a/compliance-agent/src/api/role_gate/router_tests.rs +++ b/compliance-agent/src/api/role_gate/router_tests.rs @@ -152,11 +152,7 @@ fn routes() -> Vec<(Method, String, bool)> { ), (Method::GET, "/api/v1/licenses/policy".into(), false), (Method::GET, "/api/v1/licenses/check".into(), false), - ( - Method::GET, - format!("/api/v1/sbom/notices?repo_id={ID}"), - false, - ), + (Method::GET, "/api/v1/sbom/notices".into(), false), (Method::POST, "/api/v1/mcp-tokens".into(), true), (Method::DELETE, format!("/api/v1/mcp-tokens/{ID}"), true), (Method::POST, "/api/v1/notifications/read-all".into(), true),