[wp-trac] [WordPress Unit Tests] #123: "comment_content" needs to be set when creating comments

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 21:47:54 UTC 2012


#123: "comment_content" needs to be set when creating comments
--------------------------+-----------------
 Reporter:  Viper007Bond  |      Owner:
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  Database      |   Keywords:
--------------------------+-----------------
 My console fills up with errors like this when running tests:

 {{{
                         <code>INSERT INTO `wptests_comments`
 (`comment_post_ID`,
 `comment_author`,`comment_author_url`,`comment_author_IP`,`comment_date`,`commen
 t_date_gmt`,`comment_karma`,`comment_approved`,`comment_type`,`comment_parent`,`
 user_id`) VALUES (1952,&#039;Commenter
 67&#039;,&#039;http://example.com/67/&#03
 9;,&#039;&#039;,&#039;2012-08-20 21:46:15&#039;,&#039;2012-08-20
 21:46:15&#039;,
 0,&#039;1&#039;,&#039;&#039;,0,0)</code></p>
                         </div><div id='error'>
                         <p class='wpdberror'><strong>WordPress database
 error:</
 strong> [Field &#039;comment_content&#039; doesn&#039;t have a default
 value]<br
  />
 }}}

-- 
Ticket URL: <https://unit-tests.trac.wordpress.org/ticket/123>
WordPress Unit Tests <https://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list