[wp-trac] [WordPress Trac] #32394: Tests_User_Capabilities should test all capabilities for each role

WordPress Trac noreply at wordpress.org
Sun Nov 15 14:57:53 UTC 2020


#32394: Tests_User_Capabilities should test all capabilities for each role
--------------------------------------+--------------------------
 Reporter:  johnbillion               |       Owner:  johnbillion
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.3
Component:  Role/Capability           |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+--------------------------

Comment (by johnbillion):

 In [changeset:"49605" 49605]:
 {{{
 #!CommitTicketReference repository="" revision="49605"
 Built/Test Tools: Switch to a data provider for the default user role and
 capability tests.

 This test previously performed 1,010 assertions, and a failure in any one
 would prevent the other assertions from running. Using a data provider
 means simultaneous failures will all be reported at once.

 See #51344, #32394
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32394#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list