function CommentActionsTestCase::clearWatchdog
Helper function: clear the watchdog.
2 calls to CommentActionsTestCase::clearWatchdog()
- CommentActionsTestCase::testCommentPublishUnpublishActions in drupal-7.x/
modules/ comment/ comment.test - Test comment publish and unpublish actions.
- CommentActionsTestCase::testCommentPublishUnpublishActions in drupal-7.x/
modules/ comment/ comment.test - Test comment publish and unpublish actions.
Archivo
- drupal-7.x/
modules/ comment/ comment.test, line 1994 - Tests for comment.module.
Class
- CommentActionsTestCase
- Test actions provided by the comment module.
Código
function clearWatchdog() {
db_truncate('watchdog')->execute();
}