Migrate phpunit configuration for 9.3.x

9.3.x renamed some options from offensive white and blacklist to include
and exclude.

As we don't want to wait until they get removed in v10, we adjust the
configuration now.
This commit is contained in:
Daniel Siepmann 2020-08-07 10:40:46 +02:00
parent 5d4b724485
commit 9cd32427ae

View file

@ -1,4 +1,7 @@
<?xml version="1.0"?>
<phpunit <phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false" backupGlobals="false"
backupStaticAttributes="false" backupStaticAttributes="false"
bootstrap="vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php" bootstrap="vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
@ -11,7 +14,8 @@
stopOnFailure="false" stopOnFailure="false"
stopOnIncomplete="false" stopOnIncomplete="false"
stopOnSkipped="false" stopOnSkipped="false"
verbose="false"> verbose="false"
>
<testsuites> <testsuites>
<testsuite name="unit"> <testsuite name="unit">
@ -22,11 +26,11 @@
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <coverage>
<whitelist> <include>
<directory suffix=".php">Classes</directory> <directory suffix=".php">Classes</directory>
</whitelist> </include>
</filter> </coverage>
<php> <php>
<env name="typo3DatabaseDriver" value="pdo_sqlite"/> <env name="typo3DatabaseDriver" value="pdo_sqlite"/>