Phpunit updates (fix phpunit run, should fix build) (#1016)

should fix build, which is currently failing due to a stale phpunit config and poor choice of class name
This commit is contained in:
David Goodwin authored and GitHub committed 2026-04-18 10:42:02 +01:00
1 parent c6773f8390
commit ca4dae3ffe
6 files changed
+22 -16

No files matched your search

+11 -8
View File
@@ -11,22 +11,25 @@
<const name="PHPUNIT_TEST" value="true" />
</php>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="./coverage" lowUpperBound="35" highLowerBound="70"/>
</logging>
<coverage>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="html-coverage" lowUpperBound="50" highLowerBound="80"/>
</report>
</coverage>
<filter>
<whitelist>
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory>./model/</directory>
<directory>./public/</directory>
<directory>./functions.inc.php/</directory>
</include>
<exclude>
<directory>./tests/</directory>
<directory>./vendor/</directory>
<directory>./lib/</directory>
</exclude>
</whitelist>
</filter>
</source>
</phpunit>