forked from apiato/apiato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
36 lines (34 loc) · 1.3 KB
/
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Portainers Tests">
<directory>./app/Containers/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="API_FULL_URL" value="http://api.hello.dev"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DB_CONNECTION" value="testing_sqlite_in_memory"/>
<env name="TESTING_DB_HOST" value="192.168.99.100"/>
<env name="TESTING_DB_PORT" value="3307"/>
<env name="TESTING_DB_NAME" value="helloapi"/>
<env name="TESTING_DB_USERNAME" value="helloapi"/>
<env name="TESTING_DB_PASSWORD" value="helloapi"/>
</php>
</phpunit>