You are here

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

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

Overrides BrowserTestBase::setUp

File

src/Tests/Entity/EditableDeletableConfigTest.php, line 105

Class

EditableDeletableConfigTest
Test basic CRUD on 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);
}