Make WordPress Core

Opened 3 years ago

Last modified 19 months ago

#60057 new enhancement

phpunit tests for _doing_it_wrong()

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 (6)

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


3 years ago
#1

  • Keywords has-patch has-unit-tests added

Gave up.

#2 @pbearne
3 years ago

I have give up on this test as I can't get the error to log

#3 @pbearne
3 years ago

Will need to do
_deprecated_hook,
_deprecated_argument,
_deprecated_file,
_deprecated_class,
_deprecated_constructor,
_deprecated_function

as well same format

Last edited 3 years ago by pbearne (previous) (diff)

#4 @pbearne
3 years ago

OK worked it out the setup function in PHPUnit removes/orverwrites the functions

#5 @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.

#6 @desrosj
19 months ago

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