You are here

protected function DynamicEntityReferenceBaseTest::setUp in Dynamic Entity Reference 8.2

Same name and namespace in other branches
  1. 8 tests/src/Functional/DynamicEntityReferenceBaseTest.php \Drupal\Tests\dynamic_entity_reference\Functional\DynamicEntityReferenceBaseTest::setUp()

Sets the test up.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/DynamicEntityReferenceBaseTest.php, line 57

Class

DynamicEntityReferenceBaseTest
Ensures that Dynamic Entity References field works correctly.

Namespace

Drupal\Tests\dynamic_entity_reference\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
}