Make WordPress Core

Changeset 43774

Timestamp:
10/20/2018 04:20:58 AM (6 years ago)
Author:
SergeyBiryukov
Message:

REST API: Restore Autosaves controller test for multisite.

PHPUnit 3.6.x requires exclude and file paths to be relative to the checkout root.

PHPUnit 4.0.0+ requires the paths to be relative to the configuration file.

See #45131.

File:
1 edited

Legend:

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

    r43769 r43774  
    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 -->
     18            <!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
     19            <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
     20            <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
    2021            <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
    21             <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
    2222            <file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
    2323            <file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
    2424            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
    2525            <file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
     26
     27
     28
     29
     30
     31
     32
    2633        </testsuite>
    2734    </testsuites>
Note: See TracChangeset for help on using the changeset viewer.