Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
47 lines (47 loc) · 2.33 KB
/
Copy pathphpunit.xml
File metadata and controls
47 lines (47 loc) · 2.33 KB
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"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<php>
<!-- tests/run.sh starts a private MariaDB (no networking) and sets DB_SOCKET. -->
<env name="APP_ENV" value="testing" force="true"/>
<env name="APP_DEBUG" value="false" force="true"/>
<env name="APP_URL" value="https://radiusone.test" force="true"/>
<env name="APP_KEY" value="base64:dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHQ=" force="true"/>
<env name="FORCE_HTTPS" value="false" force="true"/>
<env name="RADIUSONE_SHARED_ENV" value="" force="true"/>
<env name="RADIUSONE_SECRETS_KEY" value="radiusone-test-only-key-not-for-production-use" force="true"/>
<env name="TRUSTED_PROXIES" value="127.0.0.1" force="true"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_STORE" value="array" force="true"/>
<env name="DB_CONNECTION" value="mysql" force="true"/>
<env name="DB_DATABASE" value="radiusone_test" force="true"/>
<env name="DB_USERNAME" value="root" force="true"/>
<env name="DB_PASSWORD" value="" force="true"/>
<env name="DB_HOST" value="localhost" force="true"/>
<env name="LOG_CHANNEL" value="null" force="true"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync" force="true"/>
<env name="SESSION_DRIVER" value="array" force="true"/>
<env name="SESSION_SECURE_COOKIE" value="false" force="true"/>
<!-- Production switches: off in tests, whatever .env says; tests that need them turn them on. -->
<env name="RADIUSONE_SCHEDULE_EXPIRY_SYNC" value="false" force="true"/>
<env name="RADIUSONE_SCHEDULE_EXPIRY_NOTIFICATIONS" value="false" force="true"/>
<env name="NETWORK_WORKER_ENABLED" value="false" force="true"/>
</php>
</phpunit>