Make WordPress Core

Changeset 57105


Ignore:
Timestamp:
11/10/2023 10:52:06 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: Fix broken @covers tag in _wp_post_thumbnail_context_filter() tests.

Without the space between the tag and the "description", the tag will not be recognized and the test will not record coverage correctly.

Reference: PHPUnit Manual: Annotations.

Follow-up to [55821].

Props jrf.
See #59651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/thumbnails.php

    r56559 r57105  
    456456     * @ticket 58212
    457457     *
    458      * @covers::_wp_post_thumbnail_context_filter
     458     * @covers ::_wp_post_thumbnail_context_filter
    459459     */
    460460    public function test_wp_post_thumbnail_context_filter_should_return_the_post_thumbnail() {
Note: See TracChangeset for help on using the changeset viewer.