MNT Migrate the phpunit configuration for v9 (#137)

This commit is contained in:
Ed Wilde 2024-10-22 17:58:11 +13:00 committed by GitHub
parent 3a3fd02367
commit de0f5e9ddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true"> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<testsuites> <coverage includeUncoveredFiles="true">
<testsuite name="Default"> <include>
<directory>tests/</directory> <directory suffix=".php">src/</directory>
</testsuite> </include>
</testsuites> <exclude>
<filter> <directory suffix=".php">tests/</directory>
<whitelist addUncoveredFilesFromWhitelist="true"> </exclude>
<directory suffix=".php">src/</directory> </coverage>
<exclude> <testsuites>
<directory suffix=".php">tests/</directory> <testsuite name="Default">
</exclude> <directory>tests/</directory>
</whitelist> </testsuite>
</filter> </testsuites>
</phpunit> </phpunit>