You are here

function RoleExpireTestCase::setUp in Role Expire 6

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

./role_expire.test, line 23
Role Expire tests.

Class

RoleExpireTestCase
@file Role Expire tests.

Code

function setUp() {
  parent::setUp();

  // Create and login user
  $admin_user = $this
    ->drupalCreateUser(array(
    'administer role expire',
    'administer users',
  ));
  $this
    ->drupalLogin($admin_user);
}