private function DBLogTestCase::verifyEvents
7.x dblog.test | private DBLogTestCase::verifyEvents() |
Generates and then verifies various types of events.
1 call to DBLogTestCase::verifyEvents()
- DBLogTestCase::testDBLog in drupal-7.x/
modules/ dblog/ dblog.test - Tests Database Logging module functionality through interfaces.
File
- drupal-7.x/
modules/ dblog/ dblog.test, line 191 - Tests for dblog.module.
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.
}