From 11ab7f01c74347e8513f6e42dfe37a04241f48d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 5 Sep 2023 12:53:11 +0200 Subject: [PATCH] Upgrade recipes: phpunit/phpunit --- .env.test | 3 +++ phpunit.xml.dist | 33 +++++++++++++++------------------ symfony.lock | 8 ++++---- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.env.test b/.env.test index 43e431b..5bf6e68 100644 --- a/.env.test +++ b/.env.test @@ -1,4 +1,7 @@ # define your env variables for the test env here KERNEL_CLASS='App\Kernel' APP_SECRET='$ecretf0rt3st' +SYMFONY_DEPRECATIONS_HELPER=999999 +PANTHER_APP_ENV=panther +PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots ADMIN_PASSWORD=password diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a0f9618..6c4bfed 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -6,36 +6,33 @@ backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php" + convertDeprecationsToExceptions="false" > + - + + - - - - vendor/chill-project/chill-bundles/src/Bundle/ChillMainBundle/Tests/ - - - - vendor/chill-project/chill-bundles/src/Bundle/ChillPersonBundle/Tests/ - - - - tests/ + + tests + + + src + + + + + + diff --git a/symfony.lock b/symfony.lock index 05e29fb..f2612fd 100644 --- a/symfony.lock +++ b/symfony.lock @@ -319,12 +319,12 @@ "version": "2.1.2" }, "phpunit/phpunit": { - "version": "4.7", + "version": "10.3", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", - "version": "4.7", - "ref": "00fdb38c318774cd39f475a753028a5e8d25d47c" + "branch": "main", + "version": "9.6", + "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326" }, "files": [ ".env.test",