Make WordPress Core

Changeset 54050


Ignore:
Timestamp:
09/01/2022 04:21:46 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct the @covers tags in WP::send_headers() tests for feeds.

As this is a class method and not a global function, the correct annotation syntax is @covers WP::send_headers.

Follow-up to [53233].

See #55652.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/feed/rss2.php

    r53948 r54050  
    516516         * @ticket 47968
    517517         *
    518          * @covers ::send_headers
     518         * @covers WP::send_headers
    519519         */
    520520        public function test_feed_last_modified_should_be_a_post_date_when_withcomments_is_not_passed() {
     
    555555         * @ticket 47968
    556556         *
    557          * @covers ::send_headers
     557         * @covers WP::send_headers
    558558         */
    559559        public function test_feed_last_modified_should_be_the_date_of_a_comment_that_is_the_latest_update_when_withcomments_is_passed() {
     
    594594         * @ticket 47968
    595595         *
    596          * @covers ::send_headers
     596         * @covers WP::send_headers
    597597         */
    598598        public function test_feed_last_modified_should_be_the_date_of_a_post_that_is_the_latest_update_when_withcomments_is_passed() {
Note: See TracChangeset for help on using the changeset viewer.