function DateTimeFormInjectionTest::setUp

Same name in other branches
  1. 8.9.x 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() : void {
    parent::setUp();
    $this->installSchema('system', [
        'sequences',
    ]);
}

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