[wp-trac] [WordPress Trac] #52607: Investigate why the ms-excluded test group fails when run on its own
WordPress Trac
noreply at wordpress.org
Wed Jun 16 14:20:26 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: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: multisite
------------------------------+------------------------
Comment (by hellofromTonya):
Replying to [comment:1 SergeyBiryukov]:
>I thought the $current_screen global would be reset between tests, but
that is not the case, so apparently each test is responsible for cleaning
this up after using set_current_screen().
Replying to [comment:3 johnbillion]:
> The current screen global should get reset between tests, needs
investigating.
Hmm,that's odd it isn't resetting this global state. I agree it should.
I'll investigate and open a new ticket for this work.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52607#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list