Upgrade recipes: phpunit/phpunit

This commit is contained in:
Julien Fastré 2023-09-05 12:53:11 +02:00
parent 498118d434
commit 11ab7f01c7
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
3 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,7 @@
# define your env variables for the test env here # define your env variables for the test env here
KERNEL_CLASS='App\Kernel' KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st' APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
ADMIN_PASSWORD=password ADMIN_PASSWORD=password

View File

@ -6,36 +6,33 @@
backupGlobals="false" backupGlobals="false"
colors="true" colors="true"
bootstrap="tests/bootstrap.php" bootstrap="tests/bootstrap.php"
convertDeprecationsToExceptions="false"
> >
<php> <php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" /> <ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" /> <server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" /> <server name="SHELL_VERBOSITY" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" /> <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
</php> </php>
<testsuites> <testsuites>
<testsuite name="Project Test Suite">
<!-- <directory>tests</directory>
Test suites for chill-bundles
Those test suites are repeated here for convenience for
developers
-->
<testsuite name="MainBundle">
<directory suffix="Test.php">vendor/chill-project/chill-bundles/src/Bundle/ChillMainBundle/Tests/</directory>
</testsuite>
<testsuite name="PersonBundle">
<directory suffix="Test.php">vendor/chill-project/chill-bundles/src/Bundle/ChillPersonBundle/Tests/</directory>
</testsuite>
<testsuite name="VendeeBundle">
<directory suffix="Test.php">tests/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<listeners> <listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" /> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners> </listeners>
<extensions>
</extensions>
</phpunit> </phpunit>

View File

@ -319,12 +319,12 @@
"version": "2.1.2" "version": "2.1.2"
}, },
"phpunit/phpunit": { "phpunit/phpunit": {
"version": "4.7", "version": "10.3",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "main",
"version": "4.7", "version": "9.6",
"ref": "00fdb38c318774cd39f475a753028a5e8d25d47c" "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326"
}, },
"files": [ "files": [
".env.test", ".env.test",