You are here

protected function NoSelectorConfigTest::setUp in Search Autocomplete 2.x

Same name and namespace in other branches
  1. 8 src/Tests/Entity/NoSelectorConfigTest.php \Drupal\search_autocomplete\Tests\Entity\NoSelectorConfigTest::setUp()

Overrides BrowserTestBase::setUp

File

src/Tests/Entity/NoSelectorConfigTest.php, line 109

Class

NoSelectorConfigTest
Test special cases of configurations.

Namespace

Drupal\search_autocomplete\Tests\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer search autocomplete',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}