protected function DatetimeWidgetTest::setUp in Typed Data API enhancements 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ TypedDataFormWidget/ DatetimeWidgetTest.php, line 30
Class
- DatetimeWidgetTest
- Class DatetimeWidgetTest.
Namespace
Drupal\Tests\typed_data\Functional\TypedDataFormWidgetCode
protected function setUp() : void {
parent::setUp();
$this->widget = $this
->getFormWidgetManager()
->createInstance('datetime');
$this
->drupalLogin($this
->createUser([], NULL, TRUE));
}