1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:04:03 +00:00

migrate phpunit configuration

This commit is contained in:
Saade 2023-02-15 17:08:07 -03:00
parent 02f404d4cb
commit ca1efec9a6

View file

@ -1,39 +1,32 @@
<?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" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
backupStaticAttributes="false" <coverage processUncoveredFiles="true">
bootstrap="vendor/autoload.php" <include>
colors="true" <directory suffix=".php">./src</directory>
convertErrorsToExceptions="true" </include>
convertNoticesToExceptions="true" <exclude>
convertWarningsToExceptions="true" <file>./src/routes.php</file>
processIsolation="false" <file>./src/Vite.php</file>
stopOnFailure="false"> </exclude>
<testsuites> <report>
<testsuite name="Unit"> <clover outputFile="coverage/phpunit/clover.xml"/>
<directory suffix="Test.php">./tests</directory> <html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
</testsuite> </report>
</testsuites> </coverage>
<filter> <testsuites>
<whitelist processUncoveredFilesFromWhitelist="true"> <testsuite name="Unit">
<directory suffix=".php">./src</directory> <directory suffix="Test.php">./tests</directory>
<exclude> </testsuite>
<file>./src/routes.php</file> </testsuites>
<file>./src/Vite.php</file> <php>
</exclude> <env name="APP_ENV" value="testing"/>
</whitelist> <env name="BCRYPT_ROUNDS" value="4"/>
</filter> <env name="CACHE_DRIVER" value="redis"/>
<php> <env name="MAIL_DRIVER" value="array"/>
<env name="APP_ENV" value="testing"/> <env name="QUEUE_CONNECTION" value="sync"/>
<env name="BCRYPT_ROUNDS" value="4"/> <env name="SESSION_DRIVER" value="array"/>
<env name="CACHE_DRIVER" value="redis"/> <env name="DB_CONNECTION" value="central"/>
<env name="MAIL_DRIVER" value="array"/> <env name="AWS_DEFAULT_REGION" value="us-west-2"/>
<env name="QUEUE_CONNECTION" value="sync"/> </php>
<env name="SESSION_DRIVER" value="array"/> <logging/>
<env name="DB_CONNECTION" value="central"/>
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
</php>
<logging>
<log type="coverage-clover" target="coverage/phpunit/clover.xml" showUncoveredFiles="true"/>
<log type="coverage-html" target="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit> </phpunit>