You are here

public function SpacesMenuTestCase::setUp in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 tests/spaces.test \SpacesMenuTestCase::setUp()
  2. 7 tests/spaces.test \SpacesMenuTestCase::setUp()

Set up test.

Overrides DrupalWebTestCase::setUp

File

tests/spaces.test, line 327

Class

SpacesMenuTestCase
Test for menu re-ordering

Code

public function setUp() {
  parent::setUp('ctools', 'features', 'features_test', 'spaces', 'jquery_ui');

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