[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:17:45 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:"49604" 49604]:
 {{{
 #!CommitTicketReference repository="" revision="49604"
 Build/Test Tools: Ensure user capability assertions are performed for all
 default roles.

 The existing assertions were erroneously placed outside the iteration of
 all users, and therefore were only run against the last user in the list,
 which is the Subscriber role.

 See #51344, #32394
 }}}

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


More information about the wp-trac mailing list