1 dblog.test | private DBLogTestCase::verifyEvents() |
Generates and then verifies various types of events.
File
- core/
modules/ dblog/ tests/ dblog.test, line 232 - Tests for dblog.module.
Class
- DBLogTestCase
- Tests logging messages to the database.
Code
private function verifyEvents() {
// Invoke events.
$this->doUser();
$this->doNode('post');
$this->doNode('page');
$this->doNode('book');
// When a user account is canceled, any content they created remains but the
// uid = 0. Records in the watchdog table related to that user have the uid
// set to zero.
}