From b7fc85a2c9ab51f11e86290010c472507d8c94dd Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 28 May 2025 12:48:53 +0200 Subject: [PATCH] Update phpunit recipe --- .env.test | 39 +----------------- .gitignore | 2 +- phpunit.xml.dist | 104 ++++++++++++----------------------------------- symfony.lock | 4 +- 4 files changed, 32 insertions(+), 117 deletions(-) diff --git a/.env.test b/.env.test index 9cd2ae81b..24a43c03b 100644 --- a/.env.test +++ b/.env.test @@ -1,39 +1,4 @@ -# variables for .env environement -# those variables suits for gitlab-ci -# Run tests from root to adapt your own environment +# define your env variables for the test env here KERNEL_CLASS='App\Kernel' APP_SECRET='$ecretf0rt3st' - -ADMIN_PASSWORD=password - -JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem -JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem -JWT_PASSPHRASE=2a30f6ba26521a2613821da35f28386e - -TWILIO_SID=~ -TWILIO_SECRET=~ -DEFAULT_CARRIER_CODE=BE - -ADD_ADDRESS_DEFAULT_COUNTRY=BE -ADD_ADDRESS_MAP_CENTER_X=50.8443 -ADD_ADDRESS_MAP_CENTER_Y=4.3523 -ADD_ADDRESS_MAP_CENTER_Z=15 - -SHORT_MESSAGE_DSN=null://null -MESSENGER_TRANSPORT_DSN=sync:// - -###> doctrine/doctrine-bundle ### -# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url -# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml -# -DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5454/test?serverVersion=14&charset=utf8" -###< doctrine/doctrine-bundle ### - -ASYNC_UPLOAD_TEMP_URL_KEY= -ASYNC_UPLOAD_TEMP_URL_BASE_PATH= -ASYNC_UPLOAD_TEMP_URL_CONTAINER= - -MAILER_DSN=null://null - -REDIS_HOST=127.0.0.1 -REDIS_PORT=6363 +SYMFONY_DEPRECATIONS_HELPER=999999 diff --git a/.gitignore b/.gitignore index 88458b64e..88a448071 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,7 @@ translations/* ###> phpunit/phpunit ### /phpunit.xml -.phpunit.result.cache +/.phpunit.cache/ ###< phpunit/phpunit ### /.php-cs-fixer.cache diff --git a/phpunit.xml.dist b/phpunit.xml.dist index cdc7468ec..0b31da222 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,84 +1,34 @@ + - - - - - - - - - - - - - - - src/Bundle/ChillAsideActivityBundle/src/Tests/ - - - src/Bundle/ChillBudgetBundle/Tests/ - - - src/Bundle/ChillCalendarBundle/Tests/ - - - - src/Bundle/ChillDocGeneratorBundle/tests/ - - - src/Bundle/ChillDocStoreBundle/Tests/ - - - - src/Bundle/ChillMainBundle/Tests/ - - - src/Bundle/ChillPersonBundle/Tests/ - - src/Bundle/ChillPersonBundle/Tests/Controller/AccompanyingPeriodControllerTest.php - - src/Bundle/ChillPersonBundle/Tests/Controller/PersonAddressControllerTest.php - - src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerUpdateWithHiddenFieldsTest.php - - src/Bundle/ChillPersonBundle/Tests/Controller/PersonDuplicateControllerViewTest.php - - - - - src/Bundle/ChillThirdPartyBundle/Tests - - - src/Bundle/ChillWopiBundle/tests/ - - - - diff --git a/symfony.lock b/symfony.lock index 51b88747e..59be66901 100644 --- a/symfony.lock +++ b/symfony.lock @@ -161,8 +161,8 @@ "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", - "version": "9.6", - "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326" + "version": "10.0", + "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233" }, "files": [ ".env.test",