Make WordPress Core

Opened 2 years ago

Last modified 9 months ago

#60115 new enhancement

PHPUnit tests for _deprecated_constructor()

Reported by: pbearne's profile pbearne Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-unit-tests
Focuses: tests Cc:

Description


Change History (4)

This ticket was mentioned in PR #5801 on WordPress/wordpress-develop by @pbearne.


2 years ago
#1

  • Keywords has-patch has-unit-tests added

#2 @pbearne
2 years ago

The \WP_UnitTestCase_Base::expectDeprecated function didn't have the fileter/acction to shortcut the _deprecated_constructor function so add to match the other _deprecated_* functions

#3 @desrosj
13 months ago

  • Component changed from Build/Test Tools to General
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

Since this is about adding tests and not a general build or test tooling change, I'm reassigning it to the relevant component.

#4 @desrosj
9 months ago

  • Focuses tests added
Note: See TracTickets for help on using tickets.