function DBLogTestCase::setUp

7.x dblog.test DBLogTestCase::setUp()

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

File

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

Class

DBLogTestCase
Tests logging messages to the database.

Code

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());
}