-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathphpunit.xml.dist
50 lines (45 loc) · 1.58 KB
/
phpunit.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="PaymentSuite Test Suite">
<directory>./src/PaymentSuite/*/Tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/PaymentSuite/</directory>
<exclude>
<directory>./src/PaymentSuite/*/Tests</directory>
<directory>./src/PaymentSuite/*/Resources</directory>
<directory>./src/PaymentSuite/*/Vendor</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="GESTPAY_SHOP_LOGIN" value="GESPAYXXXX"/>
<env name="GESTPAY_API_KEY" value="api-key"/>
<env name="STRIPE_API_KEY" value="api-key"/>
<env name="ENABLE_API_INTEGRATION" value="false"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
</php>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<element key="time-sensitive">
<string>PaymentSuite\GestpayBundle\Services\Tests</string>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>