Make WordPress Core

Opened 3 years ago

Last modified 19 months ago

#60115 new enhancement

PHPUnit tests for _deprecated_constructor()

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

Description


Change History (4)

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


3 years ago
#1

  • Keywords has-patch has-unit-tests added

#2 @pbearne
3 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
2 years ago

  • Component Build/Test ToolsGeneral
  • Milestone Awaiting ReviewFuture Release
  • Type defect (bug)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
19 months ago

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