forked from AuthorizeNet/sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
executable file
·49 lines (40 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://phpunit.de/phpunit.xsd"
bootstrap="./tests/bootstrap.php" backupGlobals="false"
verbose="true" colors="true">
<testsuites>
<testsuite name="AuthorizeNet Integration Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"
lowUpperBound="50" highLowerBound="80" />
<log type="coverage-clover" target="./build/logs/clover.xml" />
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib</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="4Ktq966gC55GAX7S" />
<const name="AUTHORIZENET_MD5_SETTING" value="" />
<!-- Enter your live account credentials to run tests against production gateway. -->
<const name="MERCHANT_LIVE_API_LOGIN_ID" value="" />
<const name="MERCHANT_LIVE_TRANSACTION_KEY" value="" />
<!-- Card Present Sandbox Credentials -->
<const name="CP_API_LOGIN_ID" value="" />
<const name="CP_TRANSACTION_KEY" value="" />
<const name="AUTHORIZENET_LOG_FILE" value="./tests/log" />
</php>
</phpunit>