diff --git a/tests/phpunit/tests/admin/includesMisc.php b/tests/phpunit/tests/admin/includesMisc.php index 6b267335c4..ce0ef7c6c5 100644 --- a/tests/phpunit/tests/admin/includesMisc.php +++ b/tests/phpunit/tests/admin/includesMisc.php @@ -4,7 +4,11 @@ * @group admin */ class Tests_Admin_IncludesMisc extends WP_UnitTestCase { - function test_shorten_url() { + + /** + * @covers ::url_shorten + */ + public function test_shorten_url() { $tests = array( 'wordpress\.org/about/philosophy' => 'wordpress\.org/about/philosophy', // No longer strips slashes.