[wp-trac] [WordPress Trac] #52607: Investigate why the ms-excluded test group fails when run on its own

WordPress Trac noreply at wordpress.org
Mon Feb 22 22:48:21 UTC 2021


#52607: Investigate why the ms-excluded test group fails when run on its own
----------------------------------------+------------------------------
 Reporter:  johnbillion                 |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Build/Test Tools            |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  multisite
----------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 It looks like some other tests use `set_current_screen( 'front' )` to
 reset this global, so [attachment:"52607.2.diff"] follows that approach.

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


More information about the wp-trac mailing list