function UserValidateCurrentPassCustomForm::setUp

Overrides DrupalWebTestCase::setUp

File

modules/user/user.test, line 2875

Class

UserValidateCurrentPassCustomForm
Tests user_validate_current_pass on a custom form.

Code

function setUp() {
    parent::setUp('user_form_test');
    // Create two users
    $this->accessUser = $this->drupalCreateUser(array(
        'access content',
    ));
    $this->adminUser = $this->drupalCreateUser(array(
        'administer users',
    ));
}

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