cms.c2sgmbh/tests/int
Martin Porwoll 82b4a4e558 fix: standardize rate limit headers and remove dead code
- Use rateLimitHeaders() spread on /api/posts success response
  to include X-RateLimit-Limit, X-RateLimit-Reset, Retry-After
  matching /api/search and /api/search/suggestions behavior
- Remove legacy checkRateLimit, RateLimitResult, rateLimitStore,
  and cleanup interval from src/lib/search.ts (dead code after
  migration to central searchLimiter)
- Update tests to use searchLimiter from @/lib/security instead
  of the removed checkRateLimit

All integration tests pass (20 passed, 12 skipped).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-08 00:00:19 +00:00
..
api.int.spec.ts Initial commit 2025-11-26 21:18:31 +00:00
email.int.spec.ts feat: implement multi-tenant email system with logging 2025-12-07 20:16:54 +00:00
i18n.int.spec.ts test: add E2E and integration tests with documentation 2025-12-01 08:19:52 +00:00
search.int.spec.ts fix: standardize rate limit headers and remove dead code 2025-12-08 00:00:19 +00:00