REST API: Skip Autosaves controller test for multisite.

There's some PHP 5.2 (cough, cough) edge case where paths calculated differently, possibly caused by differing version of PHPUnit.

See #45132, #45131, #43316.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43769 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daniel Bachhuber 2018-10-19 14:08:12 +00:00
parent ef67f4ad75
commit 523213aa06

View File

@ -15,16 +15,15 @@
<exclude>tests/phpunit/tests/image/editor.php</exclude>
<exclude>tests/phpunit/tests/image/editorGd.php</exclude>
<exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
<!-- DOING_AUTOSAVE constant pollutes test suite -->
<!-- and there is a weird 5.2 edge case: https://core.trac.wordpress.org/ticket/45132 -->
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
<exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
<file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
<file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
<file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
</testsuite>
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last -->
<testsuite name="restapi-autosave">
<file>tests/rest-api/rest-autosaves-controller.php</file>
</testsuite>
</testsuites>
<groups>
<exclude>