function DBLogTestCase::testDBLog
Tests Database Logging module functionality through interfaces.
First logs in users, then creates database log events, and finally tests Database Logging module functionality through both the admin and user interfaces.
File
-
modules/
dblog/ dblog.test, line 52
Class
- DBLogTestCase
- Tests logging messages to the database.
Code
function testDBLog() {
// Login the admin user.
$this->drupalLogin($this->big_user);
$row_limit = 100;
$this->verifyRowLimit($row_limit);
$this->verifyCron($row_limit);
$this->verifyEvents();
$this->verifyReports();
$this->testDBLogCorrupted();
// Login the regular user.
$this->drupalLogin($this->any_user);
$this->verifyReports(403);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.