function DateTimeFormInjectionTest::setUp

Same name 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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.