[wp-trac] [WordPress Trac] #33693: Feed links are broken for unattached attachments

WordPress Trac noreply at wordpress.org
Mon Sep 21 13:54:51 UTC 2015


#33693: Feed links are broken for unattached attachments
----------------------------------------+-----------------------------
 Reporter:  swissspidy                  |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  4.4
Component:  Feeds                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------
Changes (by netweb):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Test
 `Tests_Link_GetPostCommentsFeedLink::test_attachment_no_name_pretty_link`
 via r34336 is fails '''multisite''' tests

 {{{
 4) Tests_Link_GetPostCommentsFeedLink::test_attachment_no_name_pretty_link
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'http://example.org/?feed=rss2&p=1149'
 +'http://example.org/2015/09/19/post-title-1/attachment/1149/feed/'
 /home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/link/getPostCommentsFeedLink.php:106
 }}}

 Note: The test passes if run as only part of the `link` group `phpunit
 --group link -c tests/phpunit/multisite.xml ` but fails when run with the
 complete multisite tests `phpunit -c tests/phpunit/multisite.xml `

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33693#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list