diff --git a/tests/phpunit/includes/factory.php b/tests/phpunit/includes/factory.php index 39131492b1..aa938bb380 100644 --- a/tests/phpunit/includes/factory.php +++ b/tests/phpunit/includes/factory.php @@ -122,6 +122,7 @@ class WP_UnitTest_Factory_For_Comment extends WP_UnitTest_Factory_For_Thing { 'comment_author' => new WP_UnitTest_Generator_Sequence( 'Commenter %s' ), 'comment_author_url' => new WP_UnitTest_Generator_Sequence( 'http://example.com/%s/' ), 'comment_approved' => 1, + 'comment_content' => 'This is a comment' ); }