veza/veza-backend-api/tests
senke 15b29f6620 fix(backend): pass METRICS_BEARER_TOKEN in TestPublicCoreRoutes
Commit 73eca4f6a wrapped /metrics, /metrics/aggregated and /system/metrics
behind a new MetricsProtection middleware. Without auth they return 403,
which broke the 6 metrics sub-tests. The middleware reads
METRICS_BEARER_TOKEN at construction time, so set it via t.Setenv before
calling setupTestRouter, and add a needsMetricsAuth flag on the test
case so the request carries the matching Authorization header.
2026-04-14 11:44:53 +02:00
..
analytics refactor(backend): unify architecture - migrate analytics handler to core (ADR-001) 2026-02-15 16:18:13 +01:00
contract feat(v0.923): API contract tests, OpenAPI generation, CI type sync check 2026-02-27 20:23:10 +01:00
error_handling [FE-PAGE-015] fe-page: Add Analytics page 2025-12-25 11:25:06 +01:00
filtering_sorting [FE-PAGE-015] fe-page: Add Analytics page 2025-12-25 11:25:06 +01:00
integration feat(v0.14.0): validation runtime & staging pipeline 2026-03-13 16:09:43 +01:00
load chore(backend): config, router, auth, stream service, sanitizer, tests 2026-02-11 22:19:09 +01:00
marketplace chore(release): v0.602 — Payout, Dette Technique & Tests E2E 2026-02-23 22:32:01 +01:00
pagination [FE-PAGE-015] fe-page: Add Analytics page 2025-12-25 11:25:06 +01:00
performance v0.9.1 2026-03-05 19:22:31 +01:00
search [FE-PAGE-015] fe-page: Add Analytics page 2025-12-25 11:25:06 +01:00
security v0.9.1 2026-03-05 19:22:31 +01:00
transactions [T0-002] fix(rust): Corriger erreurs compilation Rust 2026-01-04 01:44:20 +01:00
two_factor v0.9.1 2026-03-05 19:22:31 +01:00
webhook_delivery [FE-PAGE-015] fe-page: Add Analytics page 2025-12-25 11:25:06 +01:00
api_routes_integration_test.go fix(backend): pass METRICS_BEARER_TOKEN in TestPublicCoreRoutes 2026-04-14 11:44:53 +02:00
verify_auth.sh refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
verify_p0.sh refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
verify_timeout.sh refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00