Make WordPress Core

Opened 23 months ago

Last modified 12 months ago

#53746 new task (blessed)

Tidy up the tearDown() methods — at Initial Version

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

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.