From 36d14b8691e29a4dad731079dccbb1c5b003c5ca Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 1 Sep 2022 16:48:26 +0000 Subject: [PATCH] Tests: Correct the `@covers` tag syntax in a `taxonomy_exists()` test with non-string taxonomy. This addresses a notice when generating the code coverage report: {{{ "@covers :taxonomy_exists" is invalid }}} Follow-up to [53869]. See #56338, #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54052 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/taxonomy.php b/tests/phpunit/tests/taxonomy.php index a4763fff9c..a0914dcade 100644 --- a/tests/phpunit/tests/taxonomy.php +++ b/tests/phpunit/tests/taxonomy.php @@ -134,7 +134,7 @@ class Tests_Taxonomy extends WP_UnitTestCase { * * @ticket 56338 * - * @covers :taxonomy_exists + * @covers ::taxonomy_exists * * @dataProvider data_taxonomy_exists_should_return_false_with_non_string_taxonomy *