Make WordPress Core


Ignore:
Timestamp:
03/04/2019 09:32:02 PM (7 years ago)
Author:
desrosj
Message:

Build/Test Tools: Fix validation error in multisite PHPUnit configuration file.

A PHPUnit configuration file with more than one <php> tag causes a validation error in PHPUnit versions 7.x. There are currently 2 in the tests/phpunit/multisite.xml file, which appears to be accidentally introduced in [29954].

Fixes #46414.

File:
1 edited

Legend:

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

    r44705 r44790  
    77        <php>
    88                <const name="WP_TESTS_MULTISITE" value="1" />
     9                <const name="WP_RUN_CORE_TESTS" value="1" />
    910        </php>
    1011        <testsuites>
     
    4243                </exclude>
    4344        </groups>
    44         <php>
    45                 <const name="WP_RUN_CORE_TESTS" value="1" />
    46         </php>
    4745        <listeners>
    4846                <listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php">
Note: See TracChangeset for help on using the changeset viewer.