Make WordPress Core

Opened 4 months ago

Last modified 3 weeks ago

#53746 new task (blessed)

Tidy up the tearDown() methods — at Initial Version

Reported by: johnbillion Owned by:
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:


The tearDown() method in several of the test classes perform redundant operations, for example removing or reinstating hooks, which are already taken care of in the base test class.

This means there's code that can be removed from these methods to tidy them up.

Related: #53011

Change History (0)

Note: See TracTickets for help on using tickets.