diff --git a/tests/phpunit/tests/user/listAuthors.php b/tests/phpunit/tests/user/listAuthors.php index ccaa733551..8908b39d0b 100644 --- a/tests/phpunit/tests/user/listAuthors.php +++ b/tests/phpunit/tests/user/listAuthors.php @@ -80,7 +80,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul
  • ' . '
  • zack
  • '; - $this->AssertEquals( $expected['default'], wp_list_authors( array( 'echo' => false ) ) ); + $this->assertSame( $expected['default'], wp_list_authors( array( 'echo' => false ) ) ); } function test_wp_list_authors_orderby() { @@ -89,7 +89,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • bob
  • ' . '
  • paul
  • '; - $this->AssertEquals( + $this->assertSame( $expected['post_count'], wp_list_authors( array( @@ -106,7 +106,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • bob
  • ' . '
  • zack
  • '; - $this->AssertEquals( + $this->assertSame( $expected['id'], wp_list_authors( array( @@ -124,7 +124,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul (3)
  • ' . '
  • zack (1)
  • '; - $this->AssertEquals( + $this->assertSame( $expected['optioncount'], wp_list_authors( array( @@ -149,7 +149,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul
  • ' . '
  • zack
  • '; - $this->AssertEquals( + $this->assertSame( $expected['exclude_admin'], wp_list_authors( array( @@ -166,7 +166,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul norris
  • ' . '
  • zack moon
  • '; - $this->AssertEquals( + $this->assertSame( $expected['show_fullname'], wp_list_authors( array( @@ -186,7 +186,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul
  • ' . '
  • zack
  • '; - $this->AssertEquals( + $this->assertSame( $expected['hide_empty'], wp_list_authors( array( @@ -217,7 +217,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul (link to feed)
  • ' . '
  • zack (link to feed)
  • '; - $this->AssertEquals( + $this->assertSame( $expected['feed'], wp_list_authors( array( @@ -238,7 +238,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul
  • ' . '
  • zack
  • '; - $this->AssertEquals( + $this->assertSame( $expected['feed_image'], wp_list_authors( array( @@ -262,7 +262,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { '
  • paul (link to feed)
  • ' . '
  • zack (link to feed)
  • '; - $this->AssertEquals( + $this->assertSame( $expected['feed_type'], wp_list_authors( array( @@ -280,7 +280,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { 'paul, ' . 'zack'; - $this->AssertEquals( + $this->assertSame( $expected['style'], wp_list_authors( array( @@ -294,7 +294,7 @@ class Tests_User_ListAuthors extends WP_UnitTestCase { function test_wp_list_authors_html() { $expected['html'] = 'bob, paul, zack'; - $this->AssertEquals( + $this->assertSame( $expected['html'], wp_list_authors( array(