#!/usr/bin/env php ╔════════════════════════════════════════╗ ║ Mr Jus - Tests Unitaires ║ ╚════════════════════════════════════════╝ Running ValidatorTest... ---------------------------------------- === Running Validator Tests === Test: Required validation ✓ Required validation test passed Test: Email validation ✓ Email validation test passed Test: Min/Max validation ✓ Min/Max validation test passed Test: Confirmed validation ✓ Confirmed validation test passed Test: Phone validation ✓ Phone validation test passed Test: Multiple rules ✓ Multiple rules test passed ✅ All tests passed! Running UserTest... ---------------------------------------- === Running User Model Tests === Test: User Registration ❌ Test failed: SQLSTATE[HY000]: General error: 1 table users has no column named verification_token #0 /home/devricq/www/mrjus/core/Database.php(77): PDO->prepare('INSERT INTO use...') #1 /home/devricq/www/mrjus/core/Database.php(99): Core\Database->query('INSERT INTO use...', Array) #2 /home/devricq/www/mrjus/core/Model.php(301): Core\Database->insert('users', Array) #3 /home/devricq/www/mrjus/core/Model.php(277): Core\Model->insert() #4 /home/devricq/www/mrjus/core/Model.php(139): Core\Model->save() #5 /home/devricq/www/mrjus/app/models/User.php(40): Core\Model::create(Array) #6 /home/devricq/www/mrjus/tests/Unit/UserTest.php(34): App\Models\User::register(Array) #7 /home/devricq/www/mrjus/tests/Unit/UserTest.php(162): Tests\Unit\UserTest->testUserRegistration() #8 /home/devricq/www/mrjus/tests/Unit/UserTest.php(179): Tests\Unit\UserTest->runAll() #9 /home/devricq/www/mrjus/tests/run-tests.php(26): require('/home/devricq/w...') #10 {main} ======================================== RÉSUMÉ DES TESTS ======================================== ✅ Réussis : 1 ❌ Échoués : 1 📊 Total : 2 ======================================== ⚠️ Des tests ont échoué!