function CommentActionsTestCase::clearWatchdog
7.x comment.test | CommentActionsTestCase::clearWatchdog() |
Helper function: clear the watchdog.
1 call to CommentActionsTestCase::clearWatchdog()
- CommentActionsTestCase::testCommentPublishUnpublishActions in drupal-7.x/
modules/ comment/ comment.test - Test comment publish and unpublish actions.
File
- drupal-7.x/
modules/ comment/ comment.test, line 1994 - Tests for comment.module.
Class
- CommentActionsTestCase
- Test actions provided by the comment module.
Code
function clearWatchdog() {
db_truncate('watchdog')->execute();
}