You are here

function RavenTestCase::setUp in Raven: Sentry Integration 7

Same name and namespace in other branches
  1. 7.4 raven.test \RavenTestCase::setUp()
  2. 7.2 raven.test \RavenTestCase::setUp()
  3. 7.3 raven.test \RavenTestCase::setUp()

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

File

./raven.test, line 38
Tests for Raven.module.

Class

RavenTestCase
Tests logging messages to the database.

Code

function setUp() {
  parent::setUp('raven');
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer site configuration',
    'access administration pages',
    'access site reports',
  ));
  $this->any_user = $this
    ->drupalCreateUser(array());
}