function TaxonomyLegacyTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/taxonomy/taxonomy.test, line 503

Class

TaxonomyLegacyTestCase
Test for legacy node bug.

Code

function setUp() {
    parent::setUp('taxonomy');
    $this->admin_user = $this->drupalCreateUser(array(
        'administer taxonomy',
        'administer nodes',
        'bypass node access',
    ));
    $this->drupalLogin($this->admin_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.