Opened 8 years ago
Closed 8 years ago
#46414 closed defect (bug) (fixed)
Multisite PHPUnit configuration file throws validation error
| Reported by: | desrosj | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 |
| Component: | Build/Test Tools | Version: | 4.1 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: | multisite |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like this was just incidental when applying [29869] to multisite in [29954].