function MenuTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
menu/ menu.test, line 22
Class
- MenuTestCase
- @file Tests for menu.module.
Code
function setUp() {
parent::setUp('menu');
// Create users.
$this->big_user = $this->drupalCreateUser(array(
'access administration pages',
'administer blocks',
'administer menu',
'create article content',
));
$this->std_user = $this->drupalCreateUser(array());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.