function CommentActionsTestCase::clearWatchdog
Helper function: clear the watchdog.
2 calls to CommentActionsTestCase::clearWatchdog()
- CommentActionsTestCase::testCommentPublishUnpublishActions in modules/
comment/ comment.test - Test comment publish and unpublish actions.
- CommentActionsTestCase::testCommentUnpublishByKeyword in modules/
comment/ comment.test - Tests the unpublish comment by keyword action.
File
-
modules/
comment/ comment.test, line 2080
Class
- CommentActionsTestCase
- Test actions provided by the comment module.
Code
function clearWatchdog() {
db_truncate('watchdog')->execute();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.