You are here

function MenuTokenTestCase::setUp in Menu Token 7

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

File

./menu_token.test, line 23
Menu Token tests.

Class

MenuTokenTestCase
@file Menu Token tests.

Code

function setUp() {
  parent::setUp('token', 'menu_token');

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