Make WordPress Core


Ignore:
Timestamp:
10/19/2023 01:51:04 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Tests: Improve the @group annotation accuracy and consistency.

Includes removing .php from some older group names, because most of the groups are no longer named based on the file containing the function, and sometimes functions move around, making the file-based group name inaccurate.

Props afercia, aristath, poena, SergeyBiryukov.
See #59647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/cleanDirsizeCache.php

    r54663 r56971  
    44 * Tests specific to the directory size caching.
    55 *
    6  * @group functions.php
     6 * @group functions
     7 *
     8 * @covers ::clean_dirsize_cache
    79 */
    810class Tests_Functions_CleanDirsizeCache extends WP_UnitTestCase {
     
    1214     *
    1315     * @ticket 52241
    14      *
    15      * @covers ::clean_dirsize_cache
    1616     *
    1717     * @dataProvider data_clean_dirsize_cache_with_invalid_inputs
     
    5757     *
    5858     * @ticket 52241
    59      *
    60      * @covers ::clean_dirsize_cache
    6159     *
    6260     * @dataProvider data_clean_dirsize_cache_with_non_path_string
Note: See TracChangeset for help on using the changeset viewer.