mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
Tests: Correct the @covers
tag in a WP_REST_URL_Details_Controller
test for registered route.
`WP_REST_URL_Details_Controller::register_routes()` appears to be a better match than `WP_REST_Server::get_routes()`, and is also more consistent with other test classes. Follow-up to [51973], [54056]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54059 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
32ead26653
commit
34abc9e55c
@ -102,7 +102,7 @@ class Tests_REST_WpRestUrlDetailsController extends WP_Test_REST_Controller_Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers WP_REST_Server::get_routes
|
||||
* @covers WP_REST_URL_Details_Controller::register_routes
|
||||
*
|
||||
* @ticket 54358
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user