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/Functional/DynamicEntityReferenceTest.php \Drupal\Tests\dynamic_entity_reference\Functional\DynamicEntityReferenceTest::setUp()

Sets the test up.

Overrides BrowserTestBase::setUp

1 call to DynamicEntityReferenceTest::setUp()
DynamicEntityReferenceLocaleTest::setUp in tests/src/Functional/DynamicEntityReferenceLocaleTest.php
Sets the test up.
1 method overrides DynamicEntityReferenceTest::setUp()
DynamicEntityReferenceLocaleTest::setUp in tests/src/Functional/DynamicEntityReferenceLocaleTest.php
Sets the test up.

File

tests/src/Functional/DynamicEntityReferenceTest.php, line 72

Class

DynamicEntityReferenceTest
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);
  $this->anotherUser = $this
    ->drupalCreateUser();
}