Upgrade phpunit xml config file to new format

This commit is contained in:
Bubka 2020-10-11 19:13:28 +02:00
parent 10e08b1cfb
commit 0ff62fda17

View File

@ -1,28 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupStaticAttributes="false" backupGlobals="false"
bootstrap="vendor/autoload.php" backupStaticAttributes="false"
colors="true" bootstrap="vendor/autoload.php"
convertErrorsToExceptions="true" colors="true"
convertNoticesToExceptions="true" convertErrorsToExceptions="true"
convertWarningsToExceptions="true" convertNoticesToExceptions="true"
processIsolation="false" convertWarningsToExceptions="true"
stopOnFailure="false" processIsolation="false"
beStrictAboutTestsThatDoNotTestAnything="false"> stopOnFailure="false"
beStrictAboutTestsThatDoNotTestAnything="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
</coverage>
<testsuites> <testsuites>
<testsuite name="Unit"> <testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory> <directory suffix="Test.php">./tests/Unit</directory>
</testsuite> </testsuite>
<testsuite name="Feature"> <testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory> <directory suffix="Test.php">./tests/Feature</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php> <php>
<server name="APP_ENV" value="testing"/> <server name="APP_ENV" value="testing"/>
<server name="DB_CONNECTION" value="sqlite"/> <server name="DB_CONNECTION" value="sqlite"/>