Changeset 58097 for trunk/tests/phpunit/tests/general/feedLinksExtra.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/feedLinksExtra.php
r56559 r58097 441 441 $expected = '<link rel="alternate" type="application/rss+xml"'; 442 442 $expected .= ' title="Test Blog » Post with no comments Comments Feed"'; 443 $expected .= ' href="http:// example.org/?feed=rss2&p=' . self::$post_no_comment_id . '" />' . "\n";443 $expected .= ' href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&p=' . self::$post_no_comment_id . '" />' . "\n"; 444 444 $this->assertSame( $expected, get_echo( 'feed_links_extra' ) ); 445 445 } … … 456 456 $expected = '<link rel="alternate" type="application/rss+xml"'; 457 457 $expected .= ' title="Test Blog » Post with no comments Comments Feed"'; 458 $expected .= ' href="http:// example.org/?feed=rss2&p=' . self::$post_no_comment_id . '" />' . "\n";458 $expected .= ' href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&p=' . self::$post_no_comment_id . '" />' . "\n"; 459 459 $this->assertSame( $expected, get_echo( 'feed_links_extra' ) ); 460 460 } … … 471 471 $expected = '<link rel="alternate" type="application/rss+xml"'; 472 472 $expected .= ' title="Test Blog » Post with a comment Comments Feed"'; 473 $expected .= ' href="http:// example.org/?feed=rss2&p=' . self::$post_with_comment_id . '" />' . "\n";473 $expected .= ' href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&p=' . self::$post_with_comment_id . '" />' . "\n"; 474 474 $this->assertSame( $expected, get_echo( 'feed_links_extra' ) ); 475 475 } … … 508 508 $expected = '<link rel="alternate" type="testing/foo"'; 509 509 $expected .= ' title="Test Blog » Post with a comment Comments Feed"'; 510 $expected .= ' href="http:// example.org/?feed=foo&p=' . self::$post_with_comment_id . '" />' . "\n";510 $expected .= ' href="http://' . WP_TESTS_DOMAIN . '/?feed=foo&p=' . self::$post_with_comment_id . '" />' . "\n"; 511 511 $this->assertSame( $expected, get_echo( 'feed_links_extra' ) ); 512 512 }
Note: See TracChangeset
for help on using the changeset viewer.