Make WordPress Core

Changeset 49796


Ignore:
Timestamp:
12/12/2020 06:06:45 PM (3 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/multisite.xml

    r47122 r49796  
    1313        <testsuite name="default">
    1414            <directory suffix=".php">tests</directory>
    15             <!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
    16             <exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
    17             <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
    1815            <exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
    1916        </testsuite>
    2017        <!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
    2118        <testsuite name="restapi-autosave">
    22             <!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
    23             <file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
    24             <!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
    2519            <file>tests/rest-api/rest-autosaves-controller.php</file>
    2620        </testsuite>
Note: See TracChangeset for help on using the changeset viewer.