function MongoDBLogTestCase::ZtestDBLog in MongoDB 8
Same name and namespace in other branches
- 7 mongodb_watchdog/mongodb_watchdog.test \MongoDBLogTestCase::ztestDbLog()
Login users, create dblog events, and test dblog functionality through the admin and user interfaces.
File
- mongodb_watchdog/
mongodb_watchdog.test, line 213 - Test class for MongoDB_watchdog.
Class
- MongoDBLogTestCase
- Test the behaviour of watchdog() mongodb_watchdog, not dblog
Code
function ZtestDBLog() {
// Login the admin user.
$this
->drupalLogin($this->big_user);
// No implementation
// $row_limit = 100;
// $this->verifyRowLimit($row_limit);
// No implementation
// $this->verifyCron($row_limit);
$this
->verifyEvents();
$this
->verifyReports();
// Login the regular user.
$this
->drupalLogin($this->any_user);
$this
->verifyReports(403);
}