function FileTaxonomyTermTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
file/ tests/ file.test, line 261
Class
- FileTaxonomyTermTestCase
- Tests adding a file to a non-node entity.
Code
public function setUp() {
$modules[] = 'file';
$modules[] = 'taxonomy';
parent::setUp($modules);
$this->admin_user = $this->drupalCreateUser(array(
'access content',
'access administration pages',
'administer site configuration',
'administer taxonomy',
));
$this->drupalLogin($this->admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.