25ddae58b2773244ef83d0cd32c346b13cd4fbc1
tests/Entity/AnalyticsTest.php (nouveau, 8 tests): - AnalyticsUniqId: constructor (id null, createdAt, events vide), setters (uid, hash, ipHash, userAgent, deviceType), screen (width, height), optionals (language, os, browser), user (nullable, set/get) - AnalyticsEvent: constructor (id null, createdAt), setters (visitor, eventName, url, title, referrer), nullables (title, referrer null par defaut) tests/Entity/AppLogTest.php (nouveau, 6 tests): - testConstructor: method, url, route, action, user null, ip null, hmac non vide, createdAt - testConstructorWithUser: user et ip passes au constructeur - testVerifyHmacValid: meme secret retourne true - testVerifyHmacInvalid: secret different retourne false - testHmacDeterministic: hmac identique a chaque verification - testDifferentDataProducesDifferentHmac: donnees differentes produisent des hmac differents tests/Entity/AttestationTest.php (nouveau, 9 tests): - testConstructor: type, ip, email, reference non vide, hmac non vide, status='pending', createdAt - testReferencePrefix: 'access' contient ACC, 'deletion' contient DEL, 'no_data' contient ABS dans la reference - testPdfFiles: unsigned, signed, certificate get/set nullable - testSubmitterId: get/set nullable - testMarkAsSigned: status passe a 'signed' - testMarkAsSent: status passe a 'sent' - testVerifyValid: meme secret retourne true - testVerifyInvalid: secret different retourne false - testEmailTracking: null par defaut Resultat: 338 tests, 670 assertions, 0 failures 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%