Opened 6 years ago
Closed 6 years ago
#46414 closed defect (bug) (fixed)
Multisite PHPUnit configuration file throws validation error
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | minor | Version: | 4.1 |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | multisite | Cc: |
Description
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. Consolidating those into one fixes the validation error.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Looks like this was just incidental when applying [29869] to multisite in [29954].