#!/usr/bin/env php === Testing Database Connection and UserRepository === 1. Initializing database... 2. Getting database connection... ✓ Database connection successful 3. Checking users table... ✓ Users table already exists 4. Testing UserRepository methods... Creating test user... ✓ Test user created with ID: 26 Testing findById()... ✓ findById() working correctly Testing findByEmail()... ✓ findByEmail() working correctly Testing getAll()... ✓ getAll() working correctly (found 4 users) Testing user update... ✓ User update successful ✓ Update verification successful 5. Cleaning up test data... ✓ Test user deleted successfully ✓ Deletion verification successful === ALL TESTS PASSED === ✓ Database connection is working ✓ UserRepository CRUD operations working