1.20.x dblog.test | private DBLogTestCase::verifyEvents() |
Generates and then verifies various types of events.
File
- modules/
dblog/ tests/ dblog.test, line 202 - 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.
}