function TaxonomyEFQTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/taxonomy/taxonomy.test, line 2069

Class

TaxonomyEFQTestCase
Tests the functionality of EntityFieldQuery for taxonomy entities.

Code

function setUp() {
    parent::setUp();
    $this->admin_user = $this->drupalCreateUser(array(
        'administer taxonomy',
    ));
    $this->drupalLogin($this->admin_user);
    $this->vocabulary = $this->createVocabulary();
}

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