[wp-trac] [WordPress Trac] #55918: Call wpTearDownAfterClass() before deleting all data, instead of after
WordPress Trac
noreply at wordpress.org
Wed Oct 5 19:59:29 UTC 2022
#55918: Call wpTearDownAfterClass() before deleting all data, instead of after
--------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
Replying to [comment:8 SergeyBiryukov]:
> Happy to do it the other way around and standardize on
`set_up_before_class()` / `tear_down_after_class()` if that's preferred.
[...] As mentioned in the ticket description, the standardization can be a
potential future enhancement and does not have to be in the scope of this
ticket.
Follow-up: #56740
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55918#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list