You are here

protected function WidgetTest::setUp in Range 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Widget/WidgetTest.php, line 48

Class

WidgetTest
Tests field widget.

Namespace

Drupal\Tests\range\Kernel\Widget

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'system',
  ]);
  $this
    ->installConfig([
    'field',
  ]);
  $this
    ->installConfig([
    'text',
  ]);
  $this
    ->installConfig([
    'range',
  ]);
  $this
    ->installEntitySchema('entity_test');
  $this
    ->installEntitySchema('user');
}