Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Oct 27, 2023
1 parent d0f3c86 commit 799be69
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"require-dev": {
"codeception/codeception": "^5.0",
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^10.4",
"phpunit/phpunit": "^9.6",
"rector/rector": "^0.18.0",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
Expand Down
20 changes: 16 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true" stopOnFailure="false" executionOrder="random" resolveDependencies="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" cacheDirectory=".phpunit.cache">

<phpunit bootstrap="vendor/autoload.php"
colors="true"
verbose="true"
failOnRisky="true"
failOnWarning="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
executionOrder="random"
resolveDependencies="true">
<php>
<ini name="error_reporting" value="-1"/>
</php>

<testsuites>
<testsuite name="Yii Debug API tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage/>
<source>

<coverage>
<include>
<directory>./src</directory>
</include>
</source>
</coverage>
</phpunit>

0 comments on commit 799be69

Please sign in to comment.