You are here

protected function DynamicEntityReferenceTest::setUp in Dynamic Entity Reference 8

Same name in this branch
  1. 8 tests/src/Functional/DynamicEntityReferenceTest.php \Drupal\Tests\dynamic_entity_reference\Functional\DynamicEntityReferenceTest::setUp()
  2. 8 tests/src/FunctionalJavascript/DynamicEntityReferenceTest.php \Drupal\Tests\dynamic_entity_reference\FunctionalJavascript\DynamicEntityReferenceTest::setUp()
Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/DynamicEntityReferenceTest.php \Drupal\Tests\dynamic_entity_reference\FunctionalJavascript\DynamicEntityReferenceTest::setUp()

Sets the test up.

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/DynamicEntityReferenceTest.php, line 84

Class

DynamicEntityReferenceTest
Ensures that Dynamic Entity References field works correctly.

Namespace

Drupal\Tests\dynamic_entity_reference\FunctionalJavascript

Code

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