forked from tenancy/multi-tenant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.phpunit.xml
38 lines (38 loc) · 1.46 KB
/
ci.phpunit.xml
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
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<testsuites>
<testsuite name="Installation Test Suite">
<file>./tests/unit-tests/InstallationTest.php</file>
</testsuite>
<testsuite name="Continued Test Suite">
<directory suffix=".php">./tests/unit-tests/</directory>
<exclude>./tests/unit-tests/InstallationTest.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<php>
<env name="IN_CI" value="1"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="Phei9thoong3ai8aqu4ieHie6kee1zee"/>
<env name="DB_DATABASE" value="testing"/>
<env name="DB_PASSWORD" value="root"/>
<env name="DB_USERNAME" value="root"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="TENANCY_DATABASE_AUTO_DELETE" value="1"/>
<env name="TENANCY_DATABASE_AUTO_DELETE_USER" value="1"/>
<env name="TENANCY_DEFAULT_HOSTNAME" value="local.testing"/>
</php>
</phpunit>