function ThemeFastTestCase::testUserAutocomplete

Tests access to user autocompletion and verify the correct results.

File

modules/simpletest/tests/theme.test, line 452

Class

ThemeFastTestCase
Tests autocompletion not loading registry.

Code

function testUserAutocomplete() {
    $this->drupalLogin($this->account);
    $this->drupalGet('user/autocomplete/' . $this->account->name);
    $this->assertText('registry not initialized', 'The registry was not initialized');
}

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