mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Tests: Remove @uses tags from the test suite.
* These were not used consistently, with only four instances across all the tests. * Using this tag in combination with the `beStrictAboutCoversAnnotation="true"` setting will mark a test as "Risky" if code is executed during the test which is not annotated via `@covers` or `@uses` tags. That would make the maintainance of the tags very fiddly, while adding little additional value for the test code base. Follow-up to [32995], [39914], [42636], [53682]. Props jrf. See #39265. git-svn-id: https://develop.svn.wordpress.org/trunk@53687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -212,8 +212,6 @@ class Tests_URL extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @covers ::home_url
|
||||
*
|
||||
* @uses ::get_option
|
||||
*/
|
||||
public function test_home_url_from_admin() {
|
||||
// Pretend to be in the site admin.
|
||||
|
||||
Reference in New Issue
Block a user