Tests: Update Tests_Feed_RSS::test_items to expect new comment permalink structure.

Introduced in [34075] for posts without comments.

Props netweb.
Fixes #19893.


git-svn-id: https://develop.svn.wordpress.org/trunk@34092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2015-09-12 23:30:11 +00:00
parent 829ae5f4ce
commit 276fa7cd09

View File

@ -146,7 +146,7 @@ class Tests_Feed_RSS2 extends WP_UnitTestCase {
// comment link // comment link
$comments_link = xml_find( $items[$key]['child'], 'comments' ); $comments_link = xml_find( $items[$key]['child'], 'comments' );
$this->assertEquals( get_permalink( $post) . '#comments', $comments_link[0]['content'] ); $this->assertEquals( get_permalink( $post) . '#respond', $comments_link[0]['content'] );
// pub date // pub date
$pubdate = xml_find( $items[$key]['child'], 'pubDate' ); $pubdate = xml_find( $items[$key]['child'], 'pubDate' );