function MenuNodeTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
menu/ menu.test, line 697
Class
- MenuNodeTestCase
- Test menu settings for nodes.
Code
function setUp() {
parent::setUp('menu');
$this->admin_user = $this->drupalCreateUser(array(
'access administration pages',
'administer content types',
'administer menu',
'create page content',
'edit any page content',
'delete any page content',
));
$this->drupalLogin($this->admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.