-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
phpunit.xml.dist
27 lines (27 loc) · 1.34 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="API Test Suite">
<directory suffix="Test.php">./test/tests</directory>
<exclude>./test/tests/TestCase.php</exclude>
</testsuite>
</testsuites>
<php>
<env name="DB_CONNECTION" value="testing"/>
<env name="APP_ENV" value="testing"/>
<!-- Test App -->
<env name="APP_DEBUG" value="true"/>
<env name="API_DEBUG" value="true"/>
<env name="APP_URL" value="http://localhost"/>
<env name="APP_KEY" value="CC58JtJ6QNRTnAr3tdwTw6qMuiK4nDTaozD8Uk3zQ0xuTc6VbW2DBek3cArbnZTx"/>
<env name="API_PREFIX" value="/"/>
<env name="JWT_SECRET" value="WrL8dp51k231ErDyUMgazU9KceL1RKXusu1U39YARuMbUWKuurPEtqGhEDCrUMoB"/>
<env name="JWT_TTL" value="7220"/>
<!-- Test App -->
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>