-
-
Notifications
You must be signed in to change notification settings - Fork 152
/
phpunit-mysql.xml
47 lines (47 loc) · 1.68 KB
/
phpunit-mysql.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
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticProperties="false"
bootstrap="vendor/autoload.php"
colors="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
processIsolation="false"
stopOnFailure="false"
stopOnError="false"
beStrictAboutTestsThatDoNotTestAnything="false">
<source>
<include>
<directory suffix=".php">app</directory>
</include>
<exclude>
<directory suffix=".php">app/Protobuf</directory>
</exclude>
</source>
<coverage includeUncoveredFiles="true">
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">tests/Feature</directory>
</testsuite>
<testsuite name="Api.v1">
<directory suffix="Test.php">tests/Api/v1</directory>
</testsuite>
</testsuites>
<php>
<ini name="memory_limit" value="2048M" />
<env name="APP_ENV" value="testing"/>
<!-- following values override .env.testing vars -->
<env name="DB_CONNECTION" value="mysql"/>
<env name="DB_HOST" value="127.0.0.1"/>
<env name="DB_PORT" value="3306"/>
<env name="DB_DATABASE" value="2fauth_test"/>
<env name="DB_USERNAME" value="travis"/>
<env name="DB_PASSWORD" value=""/>
</php>
</phpunit>