function SearchNodeTagTest::setUp

Overrides DrupalWebTestCase::setUp

File

modules/search/search.test, line 2112

Class

SearchNodeTagTest
Tests node search with query tags.

Code

function setUp() {
    parent::setUp('search', 'search_node_tags');
    node_access_rebuild();
    // Create a test user and log in.
    $this->test_user = $this->drupalCreateUser(array(
        'search content',
    ));
    $this->drupalLogin($this->test_user);
}

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