function SearchPageText::setUp

Overrides DrupalWebTestCase::setUp

File

modules/search/search.test, line 260

Class

SearchPageText
Tests the bike shed text on no results page, and text on the search page.

Code

function setUp() {
    parent::setUp('search');
    // Create user.
    $this->searching_user = $this->drupalCreateUser(array(
        'search content',
        'access user profiles',
    ));
}

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