1 theme.test | ThemeFastTestCase::testUserAutocomplete() |
Tests access to user autocompletion and verify the correct results.
File
- core/
modules/ simpletest/ tests/ theme.test, line 563 - Tests for the theme API.
Class
- ThemeFastTestCase
- Tests autocompletion not loading registry.
Code
function testUserAutocomplete() {
$this->backdropLogin($this->account);
$this->backdropGet('user/autocomplete/' . $this->account->name);
$this->assertText('registry not initialized', 'The registry was not initialized');
}