-
Notifications
You must be signed in to change notification settings - Fork 35
/
phpunit.xml.dist
28 lines (27 loc) · 1.19 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
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit bootstrap="Tests/autoload.php"
colors="true"
verbose="true"
stopOnFailure="false">
<php>
<env name="SF_LOGIN_URL" value="https://test.salesforce.com" />
<env name="SF_USER" value="YOUR_APP_USERNAME" />
<env name="SF_PASS" value="YOUR_APP_PASS_W_TOKEN" />
<env name="SF_CLIENT_ID" value="YOUR_APP_ID" />
<env name="SF_CLIENT_SECRET" value="YOUR_APP_SECRET" />
<!--
Auth codes are only good for 15 mins. Get yours my going to:
%SF_LOGIN_URL%/services/oauth2/authorize?response_type=code&client_id=%SF_CLIENT_ID&redirect_uri=%SF_REDIRECT_URI%
-->
<env name="SF_AUTH_CODE" value="AN_AUTH_CODE" />
<env name="SF_REDIRECT_URI" value="http://localhost" />
<!-- Whatever you named your push topic and change event topic in SF has to match the test, so name them here correctly so they match! -->
<env name="AccountPushTopic" value="" />
<env name="AccountChangeEvent" value="" />
</php>
<testsuites>
<testsuite name="Test Suite">
<directory>Tests</directory>
</testsuite>
</testsuites>
</phpunit>