You are here

protected function DateTimeFormInjectionTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php \Drupal\Tests\datetime\Kernel\DateTimeFormInjectionTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php, line 38

Class

DateTimeFormInjectionTest
Tests serializing a form with an injected datetime instance.

Namespace

Drupal\Tests\datetime\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'key_value_expire',
    'sequences',
  ]);
}