0f7c752d9a1248150e9bfc1d425e6363fdedf41a
tests/Controller/SetPasswordControllerTest.php (nouveau, 5 tests): - testGetFormRendered: token valide, affiche le formulaire - testTokenExpired: token invalide, affiche la page expired - testPostPasswordTooShort: mot de passe < 8 caracteres, erreur - testPostPasswordMismatch: confirmation differente, erreur - testPostSuccess: mot de passe valide, flush + redirect 302 tests/Controller/SonarBadgeControllerTest.php (nouveau, 2 tests): - testBadgeSuccess: metric valide, retourne SVG avec Content-Type image/svg+xml - testBadgeInvalidMetric: metric invalide, retourne 404 tests/Controller/StatusPageControllerTest.php (reecrit, 2 tests): - testIndexEmpty: aucune categorie, retourne 200 - testIndexWithServices: categorie avec service, QueryBuilder mocke pour les logs, retourne 200 tests/Controller/WebhookDocuSealControllerTest.php (nouveau, 9 tests): - testUnauthorized: mauvais secret dans le header, retourne 401 - testInvalidPayload: JSON invalide, retourne 400 - testIgnoredDocType: doc_type autre que attestation, retourne ignored - testEmptySecret: secret vide bypass la verification - testFormViewedAttestationNotFound: attestation introuvable, retourne 404 - testFormViewedAttestationFound: attestation trouvee, retourne 200 - testFormStarted: evenement started, retourne 200 - testFormDeclined: evenement declined, retourne 200 - testUnknownEvent: evenement inconnu, retourne ignored Resultat: 368 tests, 718 assertions, 0 failures, 0 notices Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
PHP
66.2%
Twig
28.7%
JavaScript
4%
Jinja
0.5%
Makefile
0.3%
Other
0.2%