mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Tests: Correct the @covers tag in a WP_REST_URL_Details_Controller test for registered route.
This addresses a notice when generating the code coverage report:
{{{
"@covers WP_REST_URL_Details_Controller::get_routes" is invalid
}}}
The `WP_REST_URL_Details_Controller` class does not have a `get_routes()` method, `WP_REST_Server` does.
Follow-up to [51973].
See #55652.
git-svn-id: https://develop.svn.wordpress.org/trunk@54056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
36bc1177cd
commit
e962841c3a
@ -102,7 +102,7 @@ class Tests_REST_WpRestUrlDetailsController extends WP_Test_REST_Controller_Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers WP_REST_URL_Details_Controller::get_routes
|
||||
* @covers WP_REST_Server::get_routes
|
||||
*
|
||||
* @ticket 54358
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user