From 0027f78fc5bc794064f0a2e8b5b514dd2fa24151 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Sun, 22 Mar 2026 09:23:23 +0100 Subject: [PATCH] fix(ci): sync AllowedCollections test with current whitelist TestAllowedCollections was asserting bp_compliance_recht which was removed from the handler whitelist. Updated test to match the actual AllowedCollections map (added bp_compliance_gdpr, bp_dsfa_templates, bp_dsfa_risks, bp_iace_libraries; removed bp_compliance_recht). Co-Authored-By: Claude Opus 4.6 --- ai-compliance-sdk/internal/api/handlers/rag_handlers_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ai-compliance-sdk/internal/api/handlers/rag_handlers_test.go b/ai-compliance-sdk/internal/api/handlers/rag_handlers_test.go index 8000611..a1f86e6 100644 --- a/ai-compliance-sdk/internal/api/handlers/rag_handlers_test.go +++ b/ai-compliance-sdk/internal/api/handlers/rag_handlers_test.go @@ -13,11 +13,14 @@ import ( func TestAllowedCollections(t *testing.T) { allowed := []string{ "bp_compliance_ce", - "bp_compliance_recht", "bp_compliance_gesetze", "bp_compliance_datenschutz", + "bp_compliance_gdpr", "bp_dsfa_corpus", + "bp_dsfa_templates", + "bp_dsfa_risks", "bp_legal_templates", + "bp_iace_libraries", } for _, c := range allowed {