Make WordPress Core

Changeset 60689


Ignore:
Timestamp:
08/29/2025 12:50:07 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Tests: Correct @covers tags for term_exists() tests.

Includes moving the tag to the class DocBlock, as this test class covers a single function.

Follow-up to [52921], [60676].

See #63167.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/termExists.php

    r60676 r60689  
    33/**
    44 * @group taxonomy
     5 *
     6 * @covers ::term_exists
    57 */
    68class Tests_TermExists extends WP_UnitTestCase {
     
    274276    /**
    275277     * @ticket 36949
    276      * @covers ::term_exists()
    277278     */
    278279    public function test_term_lookup_by_id_and_update() {
     
    296297    /**
    297298     * @ticket 36949
    298      * @covers ::term_exists()
    299299     */
    300300    public function test_term_lookup_by_slug_and_update() {
     
    318318    /**
    319319     * @ticket 36949
    320      * @covers ::term_exists()
    321320     */
    322321    public function test_term_exists_caching() {
     
    346345    /**
    347346     * @ticket 36949
    348      * @covers ::term_exists()
    349347     */
    350348    public function test_term_exists_caching_suspend_cache_invalidation() {
     
    372370    /**
    373371     * @ticket 36949
    374      * @covers ::term_exists()
    375372     */
    376373    public function test_term_exists_caching_by_int_suspend_cache_invalidation() {
     
    405402    /**
    406403     * @ticket 55358
    407      * @covers ::term_exists()
    408404     */
    409405    public function test_term_exists_with_numeric_parent_term() {
     
    445441    /**
    446442     * @ticket 55358
    447      * @covers ::term_exists()
    448443     */
    449444    public function test_term_exists_with_non_numeric_parent_term() {
     
    485480    /**
    486481     * @ticket 55358
    487      * @covers ::term_exists()
    488482     */
    489483    public function test_term_exists_with_empty_taxonomy_and_numeric_parent() {
     
    520514    /**
    521515     * @ticket 55358
    522      * @covers ::term_exists()
    523516     */
    524517    public function test_term_exists_with_wordpress_categories() {
Note: See TracChangeset for help on using the changeset viewer.