function UserAutocompleteTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/user/user.test, line 1869

Class

UserAutocompleteTestCase
Test user autocompletion.

Code

function setUp() {
    parent::setUp();
    // Set up two users with different permissions to test access.
    $this->unprivileged_user = $this->drupalCreateUser();
    $this->privileged_user = $this->drupalCreateUser(array(
        'access user profiles',
    ));
}

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