function BoxesTestCase::setUp in Boxes 7
Same name and namespace in other branches
- 6 tests/boxes.test \BoxesTestCase::setUp()
Implements setUp().
Overrides DrupalWebTestCase::setUp
File
- tests/
boxes.test, line 20
Class
Code
function setUp() {
parent::setUp(array(
'comment',
'ctools',
'block',
'boxes',
));
// Create and login user
$admin_user = $this
->drupalCreateUser(array(
'administer blocks',
'administer boxes',
));
$this
->drupalLogin($admin_user);
}