function FastTest::testUserAutocomplete

Tests access to user autocompletion and verify the correct results.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Theme/FastTest.php, line 40
Definition of Drupal\system\Tests\Theme\FastTest.

Class

FastTest
Tests autocompletion not loading registry.

Namespace

Drupal\system\Tests\Theme

Code

function testUserAutocomplete() {
  $this
    ->drupalLogin($this->account);
  $this
    ->drupalGet('user/autocomplete', array(
    'query' => array(
      'q' => $this->account->name,
    ),
  ));
  $this
    ->assertRaw($this->account->name);
  $this
    ->assertNoText('registry initialized', 'The registry was not initialized');
}