-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit-integration.xml
35 lines (35 loc) · 2.06 KB
/
phpunit-integration.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
<?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="integrationTests/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-integration.xml" />
</report>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory>./integrationTests/</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="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="SALESFORCE_SECRET_KEY" value="topsecret" force="true"/>
<env name="WEBHOOK_DONATION_SECRET" value="unitTestCchSecret" force="true"/>
</php>
</phpunit>