Changeset 58097 for trunk/tests/phpunit/tests/user/wpListUsers.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpListUsers.php
r53489 r58097 120 120 'feed' => 'User feed', 121 121 ), 122 'expected' => '<li>jane (<a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_jane">User feed</a>)</li>' .123 '<li>michelle (<a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_michelle">User feed</a>)</li>' .124 '<li>paul (<a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_paul">User feed</a>)</li>' .125 '<li>zack (<a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_zack">User feed</a>)</li>',122 'expected' => '<li>jane (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_jane">User feed</a>)</li>' . 123 '<li>michelle (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_michelle">User feed</a>)</li>' . 124 '<li>paul (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_paul">User feed</a>)</li>' . 125 '<li>zack (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_zack">User feed</a>)</li>', 126 126 ), 127 127 'the feed of each user and an image' => array( … … 130 130 'feed_image' => 'http://example.org/image.jpg', 131 131 ), 132 'expected' => '<li>jane <a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_jane"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' .133 '<li>michelle <a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_michelle"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' .134 '<li>paul <a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_paul"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' .135 '<li>zack <a href="http:// example.org/?feed=rss2&author=AUTHOR_ID_zack"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>',132 'expected' => '<li>jane <a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_jane"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' . 133 '<li>michelle <a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_michelle"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' . 134 '<li>paul <a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_paul"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>' . 135 '<li>zack <a href="http://' . WP_TESTS_DOMAIN . '/?feed=rss2&author=AUTHOR_ID_zack"><img src="http://example.org/image.jpg" style="border: none;" alt="User feed with image" /></a></li>', 136 136 ), 137 137 'a feed of the specified type' => array( … … 140 140 'feed_type' => 'atom', 141 141 ), 142 'expected' => '<li>jane (<a href="http:// example.org/?feed=atom&author=AUTHOR_ID_jane">User feed as atom</a>)</li>' .143 '<li>michelle (<a href="http:// example.org/?feed=atom&author=AUTHOR_ID_michelle">User feed as atom</a>)</li>' .144 '<li>paul (<a href="http:// example.org/?feed=atom&author=AUTHOR_ID_paul">User feed as atom</a>)</li>' .145 '<li>zack (<a href="http:// example.org/?feed=atom&author=AUTHOR_ID_zack">User feed as atom</a>)</li>',142 'expected' => '<li>jane (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=atom&author=AUTHOR_ID_jane">User feed as atom</a>)</li>' . 143 '<li>michelle (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=atom&author=AUTHOR_ID_michelle">User feed as atom</a>)</li>' . 144 '<li>paul (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=atom&author=AUTHOR_ID_paul">User feed as atom</a>)</li>' . 145 '<li>zack (<a href="http://' . WP_TESTS_DOMAIN . '/?feed=atom&author=AUTHOR_ID_zack">User feed as atom</a>)</li>', 146 146 ), 147 147 'no output via echo' => array(
Note: See TracChangeset
for help on using the changeset viewer.