Make WordPress Core


Ignore:
Timestamp:
10/19/2023 01:51:04 PM (18 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/term.php

    r56650 r56971  
    33/**
    44 * @group taxonomy
     5 * @group category
    56 */
    67class Tests_Term extends WP_UnitTestCase {
     
    128129    }
    129130
    130     /**
    131      * @group category.php
    132      */
    133131    public function test_term_is_ancestor_of() {
    134132        $term  = rand_str();
Note: See TracChangeset for help on using the changeset viewer.