1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Move phpunit.xml into root to make PHPUnit easier to run

This seems to be pretty standard. Can just run `vendor/bin/phpunit` without any arguments. Removes the need for `composer test` (which is not ideal anyway as it removes colours from the output).
This commit is contained in:
Toby Zerner
2016-06-05 09:16:29 +09:30
parent 58d7be95c1
commit 6db27dff4f
3 changed files with 2 additions and 10 deletions

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="all">
<directory suffix="Test.php">./</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
</php>
</phpunit>