function ThemeFastTestCase::testUserAutocomplete

7.x theme.test ThemeFastTestCase::testUserAutocomplete()

Tests access to user autocompletion and verify the correct results.

File

drupal-7.x/modules/simpletest/tests/theme.test, line 420
Tests for the theme API.

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');
}