From a03b2ecf733c911f686abbde53f52668af4a7be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 24 Dec 2023 15:27:05 +0100 Subject: [PATCH] Use sqlite database for testing by default --- .env.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.test b/.env.test index eaf0673c..3dbece81 100644 --- a/.env.test +++ b/.env.test @@ -5,8 +5,9 @@ SYMFONY_DEPRECATIONS_HELPER=999999 PANTHER_APP_ENV=panther PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots +DATABASE_URL="sqlite:///%kernel.project_dir%/var/app_test.db" # Doctrine automatically adds an _test suffix to database name in test env -DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db +#DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db # Disable update checks, as tests would fail, when github is not reachable -CHECK_FOR_UPDATES=1 \ No newline at end of file +CHECK_FOR_UPDATES=0 \ No newline at end of file