Make WordPress Core

Opened 10 months ago

Last modified 2 days 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: Cc:

Description


Change History (3)

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


10 months ago
#1

  • Keywords has-patch has-unit-tests added

#2 @pbearne
10 months 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
2 days 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.

Note: See TracTickets for help on using tickets.