fix(ci): sync AllowedCollections test with current whitelist
All checks were successful
CI/CD / go-lint (push) Has been skipped
CI/CD / python-lint (push) Has been skipped
CI/CD / nodejs-lint (push) Has been skipped
CI/CD / test-go-ai-compliance (push) Successful in 42s
CI/CD / test-python-backend-compliance (push) Successful in 32s
CI/CD / test-python-document-crawler (push) Successful in 23s
CI/CD / test-python-dsms-gateway (push) Successful in 18s
CI/CD / validate-canonical-controls (push) Successful in 11s
CI/CD / Deploy (push) Successful in 4s

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 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-22 09:23:23 +01:00
parent b29a7caee7
commit 0027f78fc5

View File

@@ -13,11 +13,14 @@ import (
func TestAllowedCollections(t *testing.T) { func TestAllowedCollections(t *testing.T) {
allowed := []string{ allowed := []string{
"bp_compliance_ce", "bp_compliance_ce",
"bp_compliance_recht",
"bp_compliance_gesetze", "bp_compliance_gesetze",
"bp_compliance_datenschutz", "bp_compliance_datenschutz",
"bp_compliance_gdpr",
"bp_dsfa_corpus", "bp_dsfa_corpus",
"bp_dsfa_templates",
"bp_dsfa_risks",
"bp_legal_templates", "bp_legal_templates",
"bp_iace_libraries",
} }
for _, c := range allowed { for _, c := range allowed {