1.20.x backdrop_web_test_case.php | BackdropWebTestCase::clearWatchdog() |
Clears the watchdog database table.
@since 1.19.0 Method added.
File
- modules/
simpletest/ backdrop_web_test_case.php, line 4010
Class
- BackdropWebTestCase
- Test case for typical Backdrop tests.
Code
function clearWatchdog() {
db_truncate('watchdog')->execute();
}