forked from daviddesberg/PHPoAuthLib
-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpunit.xml.dist
32 lines (32 loc) · 1.37 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php"
backupGlobals="true"
colors="true"
>
<testsuites>
<testsuite name="Unit test ">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<exclude>
<file>src/OAuth/bootstrap.php</file>
<file>src/OAuth/Common/Exception/Exception.php</file>
<file>src/OAuth/Common/Http/Exception/TokenResponseException.php</file>
<file>src/OAuth/Common/Storage/Exception/StorageException.php</file>
<file>src/OAuth/Common/Storage/Exception/TokenNotFoundException.php</file>
<file>src/OAuth/Common/Token/Exception/ExpiredTokenException.php</file>
<file>src/OAuth/OAuth1/Signature/Exception/UnsupportedHashAlgorithmException.php</file>
<file>src/OAuth/OAuth2/Service/Exception/InvalidScopeException.php</file>
<file>src/OAuth/OAuth2/Service/Exception/MissingRefreshTokenException.php</file>
<file>src/OAuth/OAuth2/Token/StdOAuth2Token.php</file>
</exclude>
</whitelist>
</filter>
<php>
<env name="redis_host" value="127.0.0.1"/>
<env name="redis_port" value="6379"/>
</php>
</phpunit>