Update phpunit configuration

This commit is contained in:
Bubka 2024-06-26 14:15:30 +02:00
parent b8b4d22efb
commit cced8dbaff
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false" backupGlobals="false"
backupStaticProperties="false" backupStaticProperties="false"
bootstrap="vendor/autoload.php" bootstrap="vendor/autoload.php"
@ -10,8 +11,7 @@
processIsolation="false" processIsolation="false"
stopOnFailure="false" stopOnFailure="false"
stopOnError="false" stopOnError="false"
beStrictAboutTestsThatDoNotTestAnything="false" beStrictAboutTestsThatDoNotTestAnything="false">
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<source> <source>
<include> <include>
<directory suffix=".php">app</directory> <directory suffix=".php">app</directory>
@ -34,6 +34,7 @@
</testsuite> </testsuite>
</testsuites> </testsuites>
<php> <php>
<ini name="memory_limit" value="2048M" />
<env name="APP_ENV" value="testing"/> <env name="APP_ENV" value="testing"/>
<!-- following values override .env.testing vars --> <!-- following values override .env.testing vars -->
<env name="DB_CONNECTION" value="mysql"/> <env name="DB_CONNECTION" value="mysql"/>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false" backupGlobals="false"
backupStaticProperties="false" backupStaticProperties="false"
bootstrap="vendor/autoload.php" bootstrap="vendor/autoload.php"
@ -10,8 +11,7 @@
processIsolation="false" processIsolation="false"
stopOnFailure="false" stopOnFailure="false"
stopOnError="false" stopOnError="false"
beStrictAboutTestsThatDoNotTestAnything="false" beStrictAboutTestsThatDoNotTestAnything="false">
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<source> <source>
<include> <include>
<directory suffix=".php">app</directory> <directory suffix=".php">app</directory>
@ -34,7 +34,7 @@
</testsuite> </testsuite>
</testsuites> </testsuites>
<php> <php>
<ini name="memory_limit" value="256M" /> <ini name="memory_limit" value="2048M" />
<env name="APP_ENV" value="testing"/> <env name="APP_ENV" value="testing"/>
<!-- following values override .env.testing vars --> <!-- following values override .env.testing vars -->
</php> </php>