-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpunit.xml.dist
45 lines (39 loc) · 1.86 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.4/phpunit.xsd"
bootstrap="./tests/bootstrap.php"
backupGlobals="false"
colors="true">
<testsuites>
<testsuite name="MBWay Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>integration</group>
</exclude>
</groups>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<const name="MBWAY_RUN_INTEGRATION_TESTS" value="true" />
<const name="MBWAY_ALIAS_TESTS" value="351#YOUR_GSM_NUM" />
<const name="MBWAY_CURRENCY_CODE" value="9782" />
<const name="MBWAY_SSL_CERT_PATH" value="certs/file.withkey.pem" />
<const name="MBWAY_SSL_CERT_PASS" value="YOUR_CERT_PASS" />
<const name="MBWAY_CONFIG_MERCHANT_POSID" value="YOUR_POS_ID" />
<const name="MBWAY_CONFIG_MERCHANT_IP" value="255.255.255.255" />
<const name="MBWAY_ASYNC_SERVICE_MERCHANT_ALIAS" value="http://34842a79.ngrok.com/CreateMerchantAliasAsyncResultService" />
<const name="MBWAY_ASYNC_SERVICE_FINANCIAL_OPERATION" value="http://34842a79.ngrok.com/CreateFinancialOperationAsyncResultService" />
<!-- Define a MerchantOperatioId to test a Status Inquiry -->
<const name="MBWAY_MERCHANT_OPERATION_INQUIRY" value="" />
<!-- Define a MerchantOperatioId to test an authorization cancellation -->
<const name="MBWAY_MERCHANT_OPERATION_TO_CANCEL" value="" />
<!-- Define a MerchantOperatioId to test an authorization cancellation -->
<const name="MBWAY_MERCHANT_OPERATION_TO_PURCHASE_AFTER_AUTHORIZE" value="" />
</php>
</phpunit>