Serreau Jovann
80101b3b39
test: couverture 100% LogVerifyController, ExternalRedirectController + exclusions API live
LogVerifyControllerTest (4 tests) :
- testLogNotFound : log null retourne 200 avec valid=false
- testHmacMismatch : hmac prefix ne correspond pas, retourne 200 valid=false
- testValidLog : log trouvé + hmac correct + verifyLog=true
- testInvalidHmacLog : log trouvé + hmac correct + verifyLog=false
ExternalRedirectControllerTest (2 tests) :
- testIndexWithUrl : redirUrl présent retourne 200
- testIndexWithoutUrl : pas de redirUrl retourne 200
DnsReportControllerTest (1 test) :
- testNotFound : token invalide lance NotFoundHttpException
Exclusions API live :
- DnsReportController : @codeCoverageIgnore (dépend DnsCheckService, AwsSesService,
Cloudflare, Mailcow — non testable unitairement)
- sonar-project.properties : ajout DnsReportController dans sonar.exclusions
- sonar-project.properties : correction sonar.tests=tests (suppression tests/js
dupliqué qui causait l'erreur "can't be indexed twice")
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:56:48 +02:00
..
2026-04-03 10:31:54 +02:00
2026-04-03 10:56:48 +02:00
2026-04-03 10:50:24 +02:00
2026-04-02 23:53:03 +02:00
2026-04-02 23:53:03 +02:00
2026-04-01 18:10:10 +02:00
2026-04-03 10:42:44 +02:00
2026-04-02 18:48:25 +02:00
2026-04-03 10:37:37 +02:00
2026-04-02 19:01:21 +02:00
2026-04-03 10:49:34 +02:00
2026-04-01 19:30:53 +02:00
2026-03-30 18:52:03 +02:00
2026-04-02 23:31:13 +02:00