mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@54050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3fe5b93277
commit
427f1676af
@ -515,7 +515,7 @@ class Tests_Feed_RSS2 extends WP_UnitTestCase {
|
||||
*
|
||||
* @ticket 47968
|
||||
*
|
||||
* @covers ::send_headers
|
||||
* @covers WP::send_headers
|
||||
*/
|
||||
public function test_feed_last_modified_should_be_a_post_date_when_withcomments_is_not_passed() {
|
||||
$last_week = gmdate( 'Y-m-d H:i:s', strtotime( '-1 week' ) );
|
||||
@ -554,7 +554,7 @@ class Tests_Feed_RSS2 extends WP_UnitTestCase {
|
||||
*
|
||||
* @ticket 47968
|
||||
*
|
||||
* @covers ::send_headers
|
||||
* @covers WP::send_headers
|
||||
*/
|
||||
public function test_feed_last_modified_should_be_the_date_of_a_comment_that_is_the_latest_update_when_withcomments_is_passed() {
|
||||
$last_week = gmdate( 'Y-m-d H:i:s', strtotime( '-1 week' ) );
|
||||
@ -593,7 +593,7 @@ class Tests_Feed_RSS2 extends WP_UnitTestCase {
|
||||
*
|
||||
* @ticket 47968
|
||||
*
|
||||
* @covers ::send_headers
|
||||
* @covers WP::send_headers
|
||||
*/
|
||||
public function test_feed_last_modified_should_be_the_date_of_a_post_that_is_the_latest_update_when_withcomments_is_passed() {
|
||||
$last_week = gmdate( 'Y-m-d H:i:s', strtotime( '-1 week' ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user