diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-05-09 11:49:52 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-05-09 11:51:14 +0200 |
commit | a9534019992bfb6ae0092196e237e829385d3c7d (patch) | |
tree | 1a4b9cdde6fcf37811cfac7a8ea30069c0cbab24 /tests | |
parent | 4f55ba2a8895995649306911e3efa92904906836 (diff) | |
download | nextcloud-server-a9534019992bfb6ae0092196e237e829385d3c7d.tar.gz nextcloud-server-a9534019992bfb6ae0092196e237e829385d3c7d.zip |
Migrate phpunit configuration to new format
Fixes:
Warning: Your XML configuration validates against a deprecated schema.
Suggestion: Migrate your XML configuration using "--migrate-configuration"!
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/phpunit-autotest.xml | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml index 91b346a5a29..d2d45b50db7 100644 --- a/tests/phpunit-autotest.xml +++ b/tests/phpunit-autotest.xml @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="utf-8" ?> -<phpunit bootstrap="bootstrap.php" +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + bootstrap="bootstrap.php" verbose="true" backupGlobals="false" timeoutForSmallTests="900" timeoutForMediumTests="900" timeoutForLargeTests="900" convertDeprecationsToExceptions="true" -> - <testsuite name='ownCloud'> - <directory suffix='.php'>lib/</directory> - <directory suffix='.php'>Core/</directory> - <directory suffix='.php'>Test/</directory> + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> + <testsuite name="ownCloud"> + <directory suffix=".php">lib/</directory> + <directory suffix=".php">Core/</directory> + <directory suffix=".php">Test/</directory> <file>apps.php</file> </testsuite> - <!-- filters for code coverage --> - <filter> - <!-- whitelist processUncoveredFilesFromWhitelist="true" --> - <whitelist> + <coverage> + <include> <directory suffix=".php">..</directory> - <exclude> - <directory suffix=".php">../3rdparty</directory> - <directory suffix=".php">../apps/*/composer</directory> - <directory suffix=".php">../apps/*/tests</directory> - <directory suffix=".php">../apps/files_external/3rdparty</directory> - <directory suffix=".php">../build</directory> - <directory suffix=".php">../lib/composer</directory> - <directory suffix=".php">../tests</directory> - </exclude> - </whitelist> - </filter> + </include> + <exclude> + <directory suffix=".php">../3rdparty</directory> + <directory suffix=".php">../apps/*/composer</directory> + <directory suffix=".php">../apps/*/tests</directory> + <directory suffix=".php">../apps/files_external/3rdparty</directory> + <directory suffix=".php">../build</directory> + <directory suffix=".php">../lib/composer</directory> + <directory suffix=".php">../tests</directory> + </exclude> + </coverage> <listeners> <listener class="StartSessionListener" file="startsessionlistener.php" /> </listeners> |