Simplify phpunit config
This commit is contained in:
parent
d2be68728a
commit
5a75eb26b2
16
phpunit.xml
16
phpunit.xml
@ -1,10 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit
|
<phpunit
|
||||||
colors="true"
|
colors="true"
|
||||||
stopOnFailure="false"
|
stopOnFailure="false"
|
||||||
bootstrap="tests/bootstrap.php"
|
bootstrap="tests/bootstrap.php"
|
||||||
beStrictAboutTestsThatDoNotTestAnything="true"
|
beStrictAboutTestsThatDoNotTestAnything="true">
|
||||||
>
|
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist>
|
<whitelist>
|
||||||
<directory suffix=".php">src</directory>
|
<directory suffix=".php">src</directory>
|
||||||
@ -15,11 +14,4 @@
|
|||||||
<directory>tests</directory>
|
<directory>tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<php>
|
|
||||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" />
|
|
||||||
<server name="HTTP_HOST" value="localhost" />
|
|
||||||
<server name="SERVER_NAME" value="localhost" />
|
|
||||||
<server name="REQUEST_URI" value="/" />
|
|
||||||
<server name="REQUEST_METHOD" value="GET" />
|
|
||||||
</php>
|
|
||||||
</phpunit>
|
</phpunit>
|
Loading…
Reference in New Issue
Block a user