package httpapi import ( "net/http" "testing" ) func TestSourceAuditRequiresAdmin(t *testing.T) { if got := classifyRole(http.MethodGet, "/api/v1/source-connections/audit"); got != roleAdmin { t.Fatalf("audit exposes actors: required role %s", got) } }