Initialize isolated database before agent tests

This commit is contained in:
2026-08-27 18:54:32 +02:00
parent 2ee2887eb9
commit 66b6df03a6
4 changed files with 15 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class Settings:
test_commands=_commands(
os.getenv(
"TEST_COMMANDS",
"composer install --no-interaction --prefer-dist;;php artisan test",
"composer install --no-interaction --prefer-dist;;php artisan migrate:fresh --force;;php artisan test",
)
),
test_database_host=os.getenv("TEST_DB_HOST", "host.docker.internal"),