Make WordPress Core


Ignore:
Timestamp:
10/25/2020 12:31:12 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct newly introduced @covers tags.

When global functions are covered, they need to be prefixed with :: (double colon) to distinguish them from class name.

See https://phpunit.readthedocs.io/en/7.0/annotations.html#covers for more details.

Follow-up to [49000], [49171].

Props jrf.
See #39265.

File:
1 edited

Legend:

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

    r49171 r49305  
    10501050     * Ensure custom callbacks are used when registered.
    10511051     *
    1052      * @covers register_taxonomy
     1052     * @covers ::register_taxonomy
    10531053     * @ticket 40351
    10541054     */
Note: See TracChangeset for help on using the changeset viewer.