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:
parent
829ae5f4ce
commit
276fa7cd09
@ -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' );
|
||||||
|
Loading…
Reference in New Issue
Block a user