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:
Sergey Biryukov 2022-09-01 18:57:47 +00:00
parent 36bc1177cd
commit e962841c3a

View File

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