Update phpunit config

This commit is contained in:
Daniel Supernault 2020-12-13 14:51:56 -07:00
parent 8aa5d42d8b
commit 76813d351b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1,32 +1,33 @@
<?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"
<testsuites> stopOnFailure="false"
<testsuite name="Feature"> xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<directory suffix="Test.php">./tests/Feature</directory> <coverage processUncoveredFiles="true">
</testsuite> <include>
<directory suffix=".php">./app</directory>
<testsuite name="Unit"> </include>
<directory suffix="Test.php">./tests/Unit</directory> </coverage>
</testsuite> <testsuites>
</testsuites> <testsuite name="Feature">
<filter> <directory suffix="Test.php">./tests/Feature</directory>
<whitelist processUncoveredFilesFromWhitelist="true"> </testsuite>
<directory suffix=".php">./app</directory> <testsuite name="Unit">
</whitelist> <directory suffix="Test.php">./tests/Unit</directory>
</filter> </testsuite>
<php> </testsuites>
<env name="APP_ENV" value="testing"/> <php>
<env name="CACHE_DRIVER" value="array"/> <env name="APP_ENV" value="testing"/>
<env name="SESSION_DRIVER" value="array"/> <env name="CACHE_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/> <env name="SESSION_DRIVER" value="array"/>
<env name="MAIL_DRIVER" value="array"/> <env name="QUEUE_DRIVER" value="sync"/>
</php> <env name="MAIL_DRIVER" value="array"/>
</php>
</phpunit> </phpunit>