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