You are here

protected function DateRecurBaseFieldTest::setUp in Recurring Dates Field 3.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/DateRecurBaseFieldTest.php \Drupal\Tests\date_recur\Kernel\DateRecurBaseFieldTest::setUp()
  2. 3.x tests/src/Kernel/DateRecurBaseFieldTest.php \Drupal\Tests\date_recur\Kernel\DateRecurBaseFieldTest::setUp()
  3. 3.1.x tests/src/Kernel/DateRecurBaseFieldTest.php \Drupal\Tests\date_recur\Kernel\DateRecurBaseFieldTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/DateRecurBaseFieldTest.php, line 32

Class

DateRecurBaseFieldTest
Tests base fields.

Namespace

Drupal\Tests\date_recur\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('dr_entity_test');
  $this
    ->installEntitySchema('dr_entity_test_rev');
  $this
    ->installEntitySchema('dr_entity_test_single');

  // Needed for uninstall tests.
  $this
    ->installSchema('user', [
    'users_data',
  ]);
}