function PathTaxonomyTermTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
path/ path.test, line 285
Class
- PathTaxonomyTermTestCase
- Tests URL aliases for taxonomy terms.
Code
function setUp() {
parent::setUp('path', 'taxonomy');
// Create and login user.
$web_user = $this->drupalCreateUser(array(
'administer url aliases',
'administer taxonomy',
'access administration pages',
));
$this->drupalLogin($web_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.