[wp-trac] [WordPress Trac] #59390: Incorrect method / function args used in bin/tests/core/tests/rest-api/wpRestMenuItemsController.php
WordPress Trac
noreply at wordpress.org
Tue Sep 19 11:47:40 UTC 2023
#59390: Incorrect method / function args used in bin/tests/core/tests/rest-
api/wpRestMenuItemsController.php
--------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The `Tests_REST_WpRestMenuItemsController::check_get_menu_item_response`
method accepts 2 arguments, however 3 are passed to the method in
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/rest-
api/wpRestMenuItemsController.php?rev=56549#L885
It feels like the
`Tests_REST_WpRestMenuItemsController::check_menu_item_data` method was
meant to be used here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59390>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list