You are here

protected function FieldLinkTest::setUp in (Entity Reference) Field Formatters 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Plugin/Field/FieldFormatter/FieldLinkTest.php \Drupal\Tests\field_formatter\Kernel\Plugin\Field\FieldFormatter\FieldLinkTest::setUp()
  2. 3.x tests/src/Kernel/Plugin/Field/FieldFormatter/FieldLinkTest.php \Drupal\Tests\field_formatter\Kernel\Plugin\Field\FieldFormatter\FieldLinkTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Plugin/Field/FieldFormatter/FieldLinkTest.php, line 22

Class

FieldLinkTest
@coversDefaultClass \Drupal\field_formatter\Plugin\Field\FieldFormatter\FieldLink @group field_formatter

Namespace

Drupal\Tests\field_formatter\Kernel\Plugin\Field\FieldFormatter

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('entity_test');
  $this
    ->installEntitySchema('user');
}