protected function DateTimeFormInjectionTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installSchema('system', [
'sequences',
]);
}