Opened 5 years ago
Closed 4 years ago
#8302 closed defect (bug) (fixed)
PHPUnit 7 throws a 'testsuite' element requires 'name' attribute warning
Reported by: | r-a-y | Owned by: | netweb |
---|---|---|---|
Milestone: | 7.0.0 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Cc: |
Description
Just upgraded my PHP CLI version to 7.1.33 and PHPUnit to 7.5.20 (WordPress only officially supports PHPUnit 7).
PHPUnit 7 throws a warning when running our unit tests:
Warning - The configuration file did not pass validation! The following problems have been detected: Line 10: - Element 'testsuite': The attribute 'name' is required but missing. Test results may not be as expected.
Attached patch fixes this.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @r-a-y
Looks good to me 👍