1 backdrop_web_test_case.php BackdropWebTestCase::clearWatchdog()

Clears the watchdog database table.

@since 1.19.0 Method added.

File

core/modules/simpletest/backdrop_web_test_case.php, line 3982

Class

BackdropWebTestCase
Test case for typical Backdrop tests.

Code

function clearWatchdog() {
  db_truncate('watchdog')->execute();
}