WordPress.org

Make WordPress Core

Changeset 43769


Ignore:
Timestamp:
10/19/2018 02:08:12 PM (13 months ago)
Author:
danielbachhuber
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tests/phpunit/multisite.xml

    r43768 r43769  
    1616            <exclude>tests/phpunit/tests/image/editorGd.php</exclude>
    1717            <exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
     18            <!-- DOING_AUTOSAVE constant pollutes test suite -->
     19            <!-- and there is a weird 5.2 edge case: https://core.trac.wordpress.org/ticket/45132 -->
    1820            <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
     21            <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
    1922            <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
    2023            <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
    2124            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
    2225            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
    23         </testsuite>
    24         <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last -->
    25         <testsuite name="restapi-autosave">
    26             <file>tests/rest-api/rest-autosaves-controller.php</file>
    2726        </testsuite>
    2827    </testsuites>
Note: See TracChangeset for help on using the changeset viewer.