function DBLogTestCase::verifyEvents
Generates and then verifies various types of events.
1 call to DBLogTestCase::verifyEvents()
- DBLogTestCase::testDBLog in modules/
dblog/ dblog.test - Tests Database Logging module functionality through interfaces.
File
-
modules/
dblog/ dblog.test, line 226
Class
- DBLogTestCase
- Tests logging messages to the database.
Code
private function verifyEvents() {
// Invoke events.
$this->doUser();
$this->doNode('article');
$this->doNode('blog');
$this->doNode('page');
$this->doNode('poll');
// When a user account is canceled, any content they created remains but the
// uid = 0. Their blog entry shows as "'s blog" on the home page. Records
// in the watchdog table related to that user have the uid set to zero.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.