function TaxonomyHooksTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
taxonomy/ taxonomy.test, line 1477
Class
- TaxonomyHooksTestCase
- Tests for taxonomy hook invocation.
Code
function setUp() {
parent::setUp('taxonomy', 'taxonomy_test');
module_load_include('inc', 'taxonomy', 'taxonomy.pages');
$taxonomy_admin = $this->drupalCreateUser(array(
'administer taxonomy',
));
$this->drupalLogin($taxonomy_admin);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.