diff --git a/tests/phpunit/tests/category.php b/tests/phpunit/tests/category.php index 934c543876..1eb4f3d419 100644 --- a/tests/phpunit/tests/category.php +++ b/tests/phpunit/tests/category.php @@ -18,6 +18,8 @@ class Tests_Category extends WP_UnitTestCase { * Validate get_all_category_ids * * @expectedDeprecated get_all_category_ids + * + * @covers ::get_all_category_ids */ public function test_get_all_category_ids() { // Ccreate categories. @@ -34,6 +36,8 @@ class Tests_Category extends WP_UnitTestCase { /** * Validate get_category_by_slug function + * + * @covers ::get_category_by_slug */ public function test_get_category_by_slug() { @@ -64,6 +68,8 @@ class Tests_Category extends WP_UnitTestCase { /** * Validate _make_cat_compat function + * + * @covers ::_make_cat_compat */ public function test__make_cat_compat() { @@ -141,6 +147,8 @@ class Tests_Category extends WP_UnitTestCase { /** * Validate get_cat_name function + * + * @covers ::get_cat_name */ public function test_get_cat_name() { @@ -161,6 +169,8 @@ class Tests_Category extends WP_UnitTestCase { /** * Validate get_cat_name function + * + * @covers ::get_cat_ID */ public function test_get_cat_ID() { @@ -181,6 +191,8 @@ class Tests_Category extends WP_UnitTestCase { /** * Validate get_category_by_path function + * + * @covers ::get_category_by_path */ public function test_get_category_by_path() { diff --git a/tests/phpunit/tests/category/categoryDescription.php b/tests/phpunit/tests/category/categoryDescription.php index 1af1af0c7b..a6442cb4b1 100644 --- a/tests/phpunit/tests/category/categoryDescription.php +++ b/tests/phpunit/tests/category/categoryDescription.php @@ -2,6 +2,7 @@ /** * @group taxonomy + * * @covers ::category_description */ class Tests_Category_CategoryDescription extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/category/getCategories.php b/tests/phpunit/tests/category/getCategories.php index 3f2140dd24..6beb0f97a3 100644 --- a/tests/phpunit/tests/category/getCategories.php +++ b/tests/phpunit/tests/category/getCategories.php @@ -3,6 +3,8 @@ /** * @group taxonomy * @group category.php + * + * @covers ::get_categories */ class Tests_Category_GetCategories extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/category/getCategoryLink.php b/tests/phpunit/tests/category/getCategoryLink.php index 5c529d4ff8..268e7c5738 100644 --- a/tests/phpunit/tests/category/getCategoryLink.php +++ b/tests/phpunit/tests/category/getCategoryLink.php @@ -2,6 +2,7 @@ /** * @group taxonomy + * * @covers ::get_category_link */ class Tests_Category_GetCategoryLink extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/category/getCategoryParents.php b/tests/phpunit/tests/category/getCategoryParents.php index ed218e9f4a..faf6630e14 100644 --- a/tests/phpunit/tests/category/getCategoryParents.php +++ b/tests/phpunit/tests/category/getCategoryParents.php @@ -2,6 +2,8 @@ /** * @group taxonomy + * + * @covers ::get_category_parents */ class Tests_Category_GetCategoryParents extends WP_UnitTestCase { protected $c1; diff --git a/tests/phpunit/tests/category/getTheCategoryById.php b/tests/phpunit/tests/category/getTheCategoryById.php index 74e7388778..f927c796d8 100644 --- a/tests/phpunit/tests/category/getTheCategoryById.php +++ b/tests/phpunit/tests/category/getTheCategoryById.php @@ -2,6 +2,7 @@ /** * @group taxonomy + * * @covers ::get_the_category_by_ID */ class Tests_Category_GetTheCategoryById extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/category/walkerCategory.php b/tests/phpunit/tests/category/walkerCategory.php index 92d5c3f309..4e711c4f23 100644 --- a/tests/phpunit/tests/category/walkerCategory.php +++ b/tests/phpunit/tests/category/walkerCategory.php @@ -2,6 +2,8 @@ /** * @group taxonomy * @group walker + * + * @covers Walker_Category::start_el */ class Tests_Category_Walker_Category extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/category/wpDropdownCategories.php b/tests/phpunit/tests/category/wpDropdownCategories.php index c40bd3b490..19fa298486 100644 --- a/tests/phpunit/tests/category/wpDropdownCategories.php +++ b/tests/phpunit/tests/category/wpDropdownCategories.php @@ -2,6 +2,8 @@ /** * @group taxonomy * @group category.php + * + * @covers ::wp_dropdown_categories */ class Tests_Category_WpDropdownCategories extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/category/wpListCategories.php b/tests/phpunit/tests/category/wpListCategories.php index eb21fbd484..ab76c09fc9 100644 --- a/tests/phpunit/tests/category/wpListCategories.php +++ b/tests/phpunit/tests/category/wpListCategories.php @@ -2,6 +2,8 @@ /** * @group taxonomy + * + * @covers ::wp_list_categories */ class Tests_Category_WpListCategories extends WP_UnitTestCase { public function test_class() {