[wp-unit-tests] [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,'Commenter
67','http://example.com/67/
9;,'','2012-08-20 21:46:15','2012-08-20
21:46:15',
0,'1','',0,0)</code></p>
</div><div id='error'>
<p class='wpdberror'><strong>WordPress database
error:</
strong> [Field 'comment_content' doesn'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-unit-tests
mailing list