-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
53 lines (51 loc) · 2.2 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutOutputDuringTests="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory suffix=".php">./src/Migrations</directory>
<file>./src/Client/StubStripeClient.php</file>
</exclude>
<report>
<clover outputFile="coverage.xml" />
</report>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="test" force="true" />
<env name="BASE_URI" value="https://unit-test-fake-subdomain.thebiggive.org.uk" force="true"/>
<env name="ID_BASE_URI" value="https://unit-test-fake-id-sub.thebiggivetest.org.uk" force="true"/>
<env name="JWT_DONATION_SECRET" value="unitTestJWTSecret" force="true"/>
<env name="JWT_ID_SECRET" value="unitTestJWTSecret" force="true"/>
<env name="MAX_CREATES_PER_IP_PER_5M" value="1" force="true" />
<env name="MESSENGER_TRANSPORT_DSN" value="in-memory://" force="true"/>
<env name="MYSQL_HOST" value="dummy-mysql-hostname" force="true"/>
<env name="REDIS_HOST" value="dummy-redis-hostname" force="true"/>
<env name="SLACK_API_TOKEN" value="xoxb-**-test" />
<env name="STRIPE_SECRET_KEY" value="sk_test_unitTestFakeKey" force="true"/>
<env name="STRIPE_WEBHOOK_SIGNING_SECRET" value="whsec_test_unitTestFakeKey" force="true"/>
<env name="STRIPE_CONNECT_WEBHOOK_SIGNING_SECRET" value="whsec_test_unitTestFakeConnectKey" force="true"/>
<env name="WEBHOOK_DONATION_SECRET" value="unitTestCchSecret" force="true"/>
</php>
</phpunit>