Make WordPress Core

Opened 11 months ago

Last modified 3 weeks ago

#60057 new enhancement

phpunit tests for _doing_it_wrong()

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

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


11 months ago
#1

  • Keywords has-patch has-unit-tests added

Gave up.

#2 @pbearne
11 months ago

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

#3 @pbearne
11 months ago

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

as well same format

Last edited 11 months ago by pbearne (previous) (diff)

#4 @pbearne
11 months ago

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

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