[buddypress-trac] [BuddyPress Trac] #8302: PHPUnit 7 throws a 'testsuite' element requires 'name' attribute warning

buddypress-trac noreply at wordpress.org
Thu May 21 23:05:44 UTC 2020


#8302: PHPUnit 7 throws a 'testsuite' element requires 'name' attribute warning
------------------------------+-----------------------------
 Reporter:  r-a-y             |      Owner:  netweb
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  minor             |   Keywords:  has-patch
------------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8302>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list