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:
Sergey Biryukov 2022-09-01 23:11:34 +00:00
parent 32ead26653
commit 34abc9e55c

View File

@ -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 * @ticket 54358
*/ */