diff --git a/.gitignore b/.gitignore
index dfad450a778..83382dbdf23 100644
--- a/.gitignore
+++ b/.gitignore
@@ -152,6 +152,7 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
+/tests/.phpunit.cache
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
diff --git a/tests/phpunit-autotest-external.xml b/tests/phpunit-autotest-external.xml
index f97c4dea076..d61d6839c2e 100644
--- a/tests/phpunit-autotest-external.xml
+++ b/tests/phpunit-autotest-external.xml
@@ -1,39 +1,30 @@
-
+
-
-
+ cacheDirectory=".phpunit.cache"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
+
../apps/files_external/tests
../apps/files_external/tests/Storage/
-
-
-
-
+
+
../lib/private/Files/Storage/DAV.php
- ../apps/files_external
-
- ../apps/files_external/l10n
- ../apps/files_external/3rdparty
- ../apps/files_external/tests
-
-
-
-
+ ../apps/files_external
+
+
+ ../apps/files_external/l10n
+ ../apps/files_external/3rdparty
+ ../apps/files_external/tests
+
+
-
diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml
index 410bb787706..dde07915e79 100644
--- a/tests/phpunit-autotest.xml
+++ b/tests/phpunit-autotest.xml
@@ -1,4 +1,4 @@
-
+
+ cacheDirectory=".phpunit.cache"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
lib/
Core/
../apps/
../apps/user_ldap/tests/Integration
-
+
- ..
+ ..
- ../3rdparty
- ../apps/*/composer
- ../apps/*/tests
- ../apps/files_external/3rdparty
- ../build
- ../lib/composer
- ../tests
- ../vendor-bin
+ ../3rdparty
+ ../apps/*/composer
+ ../apps/*/tests
+ ../apps/files_external/3rdparty
+ ../build
+ ../lib/composer
+ ../tests
+ ../vendor-bin
-
-
-
-
+