Skip to content

Commit

Permalink
fix: phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
mguinea committed Dec 20, 2019
1 parent 57b1c56 commit adb85ec
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions phpunit.xml.dist
Expand Up @@ -7,23 +7,28 @@
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
processIsolation="true"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory suffix=".php">./tests</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<php>
<env name="API_DEBUG" value="false"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_URL" value="http://localhost/"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="API_DEBUG" value="false"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="MAIL_DRIVER" value="array"/>
<ini name="memory_limit" value="512M" />
</php>
</php>
</phpunit>

0 comments on commit adb85ec

Please sign in to comment.