[wp-trac] [WordPress Trac] #36786: Can't pass filter names to `MockAction::get_call_count()`

WordPress Trac noreply at wordpress.org
Wed Feb 4 13:59:37 UTC 2026


#36786: Can't pass filter names to `MockAction::get_call_count()`
-------------------------------------+-----------------------------
 Reporter:  dlh                      |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by r1k0):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               refresh


Comment:

 This [https://core.trac.wordpress.org/attachment/ticket/36786/1655.patch
 patch] doesn't apply cleanly against the current trunk
 (7.0-alpha-61215-src), it needs a refresh. Removing `needs-testing` as
 testing isn't needed until the patch is refreshed.

 Error:
 {{{
 Running
 "patch:https://core.trac.wordpress.org/attachment/ticket/36786/1655.patch"
 (patch) task
 patching file tests/phpunit/includes/utils.php
 Hunk #1 succeeded at 60 with fuzz 1 (offset 2 lines).
 Hunk #2 FAILED at 169.
 Hunk #3 FAILED at 183.
 2 out of 3 hunks FAILED -- saving rejects to file
 tests/phpunit/includes/utils.php.rej
 patching file tests/phpunit/tests/rest-api/rest-controller.php
 Hunk #1 succeeded at 467 (offset 75 lines).
 Hunk #2 succeeded at 501 (offset 75 lines).
 Hunk #3 succeeded at 526 (offset 75 lines).
 Hunk #4 succeeded at 586 (offset 75 lines).
 Hunk #5 succeeded at 594 (offset 75 lines).

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36786#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list