function DBLogTestCase::setUp

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

Archivo

drupal-7.x/modules/dblog/dblog.test, line 38
Tests for dblog.module.

Class

DBLogTestCase
Tests logging messages to the database.

Código

function setUp() {
  parent::setUp('dblog', 'blog', 'poll');
  // Create users.
  $this->big_user = $this->drupalCreateUser(array('administer site configuration', 'access administration pages', 'access site reports', 'administer users'));
  $this->any_user = $this->drupalCreateUser(array());
}