You are here

private function MongoDBLogTestCase::verifyEvents in MongoDB 6

Same name and namespace in other branches
  1. 8 mongodb_watchdog/mongodb_watchdog.test \MongoDBLogTestCase::verifyEvents()
  2. 7 mongodb_watchdog/mongodb_watchdog.test \MongoDBLogTestCase::verifyEvents()

Verify events.

File

mongodb_watchdog/mongodb_watchdog.test, line 304
Test class for MongoDB_watchdog.

Class

MongoDBLogTestCase
Test the behaviour of watchdog() mongodb_watchdog, not dblog.

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.
}