diff --git a/tests/phpunit/tests/comment.php b/tests/phpunit/tests/comment.php index a55ddd59e7..7858097f73 100644 --- a/tests/phpunit/tests/comment.php +++ b/tests/phpunit/tests/comment.php @@ -161,7 +161,7 @@ class Tests_Comment extends WP_UnitTestCase { ); $comment = get_comment( $comment_id ); - $this->assertEquals( 'click', $comment->comment_content, 'Comment: ' . $comment->comment_content ); + $this->assertSame( 'click', $comment->comment_content, 'Comment: ' . $comment->comment_content ); wp_set_current_user( 0 ); }