forked from commerceguys/authnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
36 lines (31 loc) · 1.33 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php" verbose="true" colors="true">
<testsuites>
<testsuite name="AutheNet Tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false" lowUpperBound="50" highLowerBound="80" />
<log type="coverage-clover" target="./clover.xml" />
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
<directory>./build</directory>
</exclude>
</whitelist>
</filter>
<php>
<const name="PHPUNIT_TESTSUITE" value="true" />
<!-- Enter your test account credentials to run tests against sandbox. -->
<const name="AUTHORIZENET_API_LOGIN_ID" value="5KP3u95bQpv" />
<const name="AUTHORIZENET_TRANSACTION_KEY" value="346HZ32z3fP4hTG2" />
<const name="AUTHORIZENET_MD5_SETTING" value="" />
<!-- Path to certificate, or `true` to use system certificates. -->
<const name="TESTS_CERTIFICATE_VERIFY" value="resources/cert.pem" />
</php>
</phpunit>