private function MongoDBLogTestCase::verifyEvents in MongoDB 7
Same name and namespace in other branches
- 8 mongodb_watchdog/mongodb_watchdog.test \MongoDBLogTestCase::verifyEvents()
- 6 mongodb_watchdog/mongodb_watchdog.test \MongoDBLogTestCase::verifyEvents()
Verify events.
1 call to MongoDBLogTestCase::verifyEvents()
- MongoDBLogTestCase::ztestDbLog in mongodb_watchdog/mongodb_watchdog.test 
- Test dblog functionality through the admin and user interfaces.
File
- mongodb_watchdog/mongodb_watchdog.test, line 330 
- Contains \MongoDBLogTestCase.
Class
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.
}