diff --git a/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php b/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php index c9acc6732d..7e60b9cc1b 100644 --- a/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php +++ b/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php @@ -20,7 +20,7 @@ class Tests_Comment_GetCommentAuthorUrlLink extends WP_UnitTestCase { $linktext = rtrim( preg_replace( '#http://(www\.)?#', '', $comment->comment_author_url ), '/' ); } return sprintf( - '%s', + '%s', $comment->comment_author_url, $linktext ); @@ -29,7 +29,7 @@ class Tests_Comment_GetCommentAuthorUrlLink extends WP_UnitTestCase { public function test_no_comment() { $url_link = get_comment_author_url_link(); - $this->assertSame( "", $url_link ); + $this->assertSame( '', $url_link ); } public function test_global_comment() {