Make WordPress Core


Ignore:
Timestamp:
07/07/2022 11:00:07 PM (2 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add @covers tags to the taxonomy and category test groups.

Props pbeane, hellofromTonya, ironprogrammer, antonvlasenko, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/category.php

    r52010 r53684  
    1919     *
    2020     * @expectedDeprecated get_all_category_ids
     21     *
     22     * @covers ::get_all_category_ids
    2123     */
    2224    public function test_get_all_category_ids() {
     
    3537    /**
    3638     * Validate get_category_by_slug function
     39     *
     40     * @covers ::get_category_by_slug
    3741     */
    3842    public function test_get_category_by_slug() {
     
    6569    /**
    6670     * Validate _make_cat_compat function
     71     *
     72     * @covers ::_make_cat_compat
    6773     */
    6874    public function test__make_cat_compat() {
     
    142148    /**
    143149     * Validate get_cat_name function
     150     *
     151     * @covers ::get_cat_name
    144152     */
    145153    public function test_get_cat_name() {
     
    162170    /**
    163171     * Validate get_cat_name function
     172     *
     173     * @covers ::get_cat_ID
    164174     */
    165175    public function test_get_cat_ID() {
     
    182192    /**
    183193     * Validate get_category_by_path function
     194     *
     195     * @covers ::get_category_by_path
    184196     */
    185197    public function test_get_category_by_path() {
Note: See TracChangeset for help on using the changeset viewer.