Clears watchdog.
File
- drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php, line 82
- Definition of Drupal\comment\Tests\CommentActionsTest.
Class
- CommentActionsTest
- Tests actions provided by the Comment module.
Namespace
Drupal\comment\Tests
Code
function clearWatchdog() {
db_truncate('watchdog')
->execute();
}