[wp-trac] [WordPress Trac] #46414: Multisite PHPUnit configuration file throws validation error
WordPress Trac
noreply at wordpress.org
Mon Mar 4 20:17:49 UTC 2019
#46414: Multisite PHPUnit configuration file throws validation error
------------------------------+-----------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Build/Test Tools | Version:
Severity: minor | Keywords: has-patch
Focuses: |
------------------------------+-----------------------
When running PHPUnit 7.x (jobs with PHP 7.1+ in Core's Travis
configuration), the following warning is output:
{{{
Warning - The configuration file did not pass validation!
The following problems have been detected:
Line 44:
- Element 'php': This element is not expected.
Test results may not be as expected.
}}}
I believe this is being caused by the presence of two `<php>` tags in
`tests/phpunit/multisite.xml`, though I have not been able to find this
explicitly stated in PHPUnit's documentation. [https://travis-
ci.org/desrosj/wordpress-develop/jobs/501670142 Consolidating those into
one fixes the validation error].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46414>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list