Make WordPress Core

Changeset 34092


Ignore:
Timestamp:
09/12/2015 11:30:11 PM (9 years ago)
Author:
jeremyfelt
Message:

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

Introduced in [34075] for posts without comments.

Props netweb.
Fixes #19893.

File:
1 edited

Legend:

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

    r31848 r34092  
    147147            // comment link
    148148            $comments_link = xml_find( $items[$key]['child'], 'comments' );
    149             $this->assertEquals( get_permalink( $post) . '#comments', $comments_link[0]['content'] );
     149            $this->assertEquals( get_permalink( $post) . '#respond', $comments_link[0]['content'] );
    150150
    151151            // pub date
Note: See TracChangeset for help on using the changeset viewer.