Add PHP unit tests and page tests.

Run "composer install", then "composer test".
This commit is contained in:
tim
2026-09-26 03:48:09 +02:00
parent 848c447c5b
commit ed959888b4
42 changed files with 5522 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# Configuration for the tests (tests/php/bootstrap.php points XXX_ENV_FILE here)
DB_HOST=db.test
DB_USER=test-user
DB_PASS=test-pass
DB_NAME=test-db
RECAPTCHA_SITE_KEY=test-site-key
RECAPTCHA_SECRET=test-secret
GOOGLE_ANALYTICS_ID=
UPLOAD_DIR=
DISPLAY_ERRORS=