Skip to content

Commit 44f10a2

Browse files
author
Sunny Raj Rathod
committed
Create phpunit.xml.dist
1 parent 3b0b055 commit 44f10a2

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

phpunit.xml.dist

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="http://phpunit.de/phpunit.xsd"
4+
backupGlobals="false"
5+
verbose="true" colors="true">
6+
7+
<testsuites>
8+
<testsuite name="AuthorizeNet Integration Tests">
9+
<directory suffix="Test.php">.</directory>
10+
</testsuite>
11+
</testsuites>
12+
13+
<filter>
14+
<whitelist processUncoveredFilesFromWhitelist="true">
15+
<directory suffix=".php">./lib</directory>
16+
<exclude>
17+
<directory>./vendor</directory>
18+
<directory>./tests</directory>
19+
<directory>./build</directory>
20+
</exclude>
21+
</whitelist>
22+
</filter>
23+
24+
<php>
25+
<const name="PHPUNIT_TESTSUITE" value="true" />
26+
27+
<!-- Enter your test account credentials to run tests against sandbox. -->
28+
<const name="AUTHORIZENET_API_LOGIN_ID" value="5KP3u95bQpv" />
29+
<const name="AUTHORIZENET_TRANSACTION_KEY" value="4Ktq966gC55GAX7S" />
30+
<const name="AUTHORIZENET_MD5_SETTING" value="" />
31+
32+
<!-- Enter your live account credentials to run tests against production gateway. -->
33+
<const name="MERCHANT_LIVE_API_LOGIN_ID" value="" />
34+
<const name="MERCHANT_LIVE_TRANSACTION_KEY" value="" />
35+
36+
<!-- Card Present Sandbox Credentials -->
37+
<const name="CP_API_LOGIN_ID" value="" />
38+
<const name="CP_TRANSACTION_KEY" value="" />
39+
40+
<const name="AUTHORIZENET_LOG_FILE" value="./testslog" />
41+
</php>
42+
43+
</phpunit>

0 commit comments

Comments
 (0)