Last active
April 4, 2021 23:59
-
-
Save farindra/0dc1737508b0217af9041635f2b78710 to your computer and use it in GitHub Desktop.
Lumen Jwtauth Part 1 - phpunit config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | |
bootstrap="vendor/autoload.php" | |
colors="true" | |
testdox="true" | |
> | |
<testsuites> | |
<testsuite name="Application Test Suite"> | |
<directory suffix="Test.php">./tests</directory> | |
</testsuite> | |
</testsuites> | |
<php> | |
<env name="APP_ENV" value="testing"/> | |
<server name="BCRYPT_ROUNDS" value="4"/> | |
<server name="DB_CONNECTION" value="sqlite"/> | |
<server name="DB_DATABASE" value=":memory:"/> | |
<env name="CACHE_DRIVER" value="array"/> | |
<env name="QUEUE_CONNECTION" value="sync"/> | |
</php> | |
</phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment