Make WordPress Core

Opened 3 years ago

Last modified 6 days 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 (7)

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 Tools → General
  • Milestone Awaiting Review → Future 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
21 months ago

  • Focuses tests added

​@lancewillett commented on ​PR #5789:


6 days ago
#7

Closing this proposal in line with the author’s note that they stopped pursuing it. This does not resolve the underlying coverage question in #60057; a renewed, focused proposal remains welcome.

<sub>AI review · <code>gpt-6</code></sub>

Note: See TracTickets for help on using tickets.