Changeset 48944 for trunk/tests/phpunit/tests/user/listAuthors.php
- Timestamp:
- 09/05/2020 04:47:50 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/listAuthors.php
r46586 r48944 81 81 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a></li>'; 82 82 83 $this-> AssertEquals( $expected['default'], wp_list_authors( array( 'echo' => false ) ) );83 $this->assertSame( $expected['default'], wp_list_authors( array( 'echo' => false ) ) ); 84 84 } 85 85 … … 90 90 '<li><a href="' . self::$user_urls[2] . '" title="Posts by paul">paul</a></li>'; 91 91 92 $this-> AssertEquals(92 $this->assertSame( 93 93 $expected['post_count'], 94 94 wp_list_authors( … … 107 107 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a></li>'; 108 108 109 $this-> AssertEquals(109 $this->assertSame( 110 110 $expected['id'], 111 111 wp_list_authors( … … 125 125 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a> (1)</li>'; 126 126 127 $this-> AssertEquals(127 $this->assertSame( 128 128 $expected['optioncount'], 129 129 wp_list_authors( … … 150 150 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a></li>'; 151 151 152 $this-> AssertEquals(152 $this->assertSame( 153 153 $expected['exclude_admin'], 154 154 wp_list_authors( … … 167 167 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack moon</a></li>'; 168 168 169 $this-> AssertEquals(169 $this->assertSame( 170 170 $expected['show_fullname'], 171 171 wp_list_authors( … … 187 187 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a></li>'; 188 188 189 $this-> AssertEquals(189 $this->assertSame( 190 190 $expected['hide_empty'], 191 191 wp_list_authors( … … 218 218 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a> (<a href="' . $url0 . '">link to feed</a>)</li>'; 219 219 220 $this-> AssertEquals(220 $this->assertSame( 221 221 $expected['feed'], 222 222 wp_list_authors( … … 239 239 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a> <a href="' . $url0 . '"><img src="http://' . WP_TESTS_DOMAIN . '/path/to/a/graphic.png" style="border: none;" /></a></li>'; 240 240 241 $this-> AssertEquals(241 $this->assertSame( 242 242 $expected['feed_image'], 243 243 wp_list_authors( … … 263 263 '<li><a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a> (<a href="' . $url0 . '">link to feed</a>)</li>'; 264 264 265 $this-> AssertEquals(265 $this->assertSame( 266 266 $expected['feed_type'], 267 267 wp_list_authors( … … 281 281 '<a href="' . self::$user_urls[0] . '" title="Posts by zack">zack</a>'; 282 282 283 $this-> AssertEquals(283 $this->assertSame( 284 284 $expected['style'], 285 285 wp_list_authors( … … 295 295 $expected['html'] = 'bob, paul, zack'; 296 296 297 $this-> AssertEquals(297 $this->assertSame( 298 298 $expected['html'], 299 299 wp_list_authors(
Note: See TracChangeset
for help on using the changeset viewer.