You are here

function BoxesSpacesTestCase::setUp in Boxes 7

Same name and namespace in other branches
  1. 6 tests/boxes.test \BoxesSpacesTestCase::setUp()

Implements setUp().

Overrides DrupalWebTestCase::setUp

File

tests/boxes_spaces.test, line 18

Class

BoxesSpacesTestCase

Code

function setUp() {
  parent::setUp('ctools', 'boxes', 'features', 'purl', 'spaces', 'spaces_ui', 'spaces_user', 'taxonomy', 'spaces_taxonomy');

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