Build/Test Tools: Remove PHPUnit 3.6.x specific settings from the multisite configuration.

In PHPUnit 3.6.x, `exclude` and `file` paths were required to be relative to the checkout root. This changed in PHPUnit 4 when the path requirements were changed require them to be relative to the configuration file.

Since PHPUnit 3.6.x is only used to test on PHP 5.2 in older branches and is no longer supported, these can be safely removed from the configuration file.

See #51802.

git-svn-id: https://develop.svn.wordpress.org/trunk@49796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-12-12 18:06:45 +00:00
parent 11e82a441b
commit f2c287aaee

View File

@ -12,16 +12,10 @@
<!-- Default test suite to run all tests. -->
<testsuite name="default">
<directory suffix=".php">tests</directory>
<!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
<exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
</testsuite>
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
<testsuite name="restapi-autosave">
<!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
<file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
<file>tests/rest-api/rest-autosaves-controller.php</file>
</testsuite>
</testsuites>