function BoxesSpacesTestCase::setUp in Boxes 6
Same name and namespace in other branches
- 7 tests/boxes_spaces.test \BoxesSpacesTestCase::setUp()
Implementation of setUp().
Overrides DrupalWebTestCase::setUp
File
- tests/
boxes.test, line 175
Class
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 spaces',
'administer site configuration',
'administer taxonomy',
));
$this
->drupalLogin($admin_user);
}