protected function SchedulerFieldsDisplayTest::setUp in Scheduler 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SchedulerFieldsDisplayTest.php \Drupal\Tests\scheduler\Functional\SchedulerFieldsDisplayTest::setUp()
Overrides SchedulerBrowserTestBase::setUp
File
- tests/
src/ Functional/ SchedulerFieldsDisplayTest.php, line 22
Class
- SchedulerFieldsDisplayTest
- Tests the display of date entry fields and form elements.
Namespace
Drupal\Tests\scheduler\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create a custom user with admin permissions but also permission to use
// the field_ui module 'node form display' tab.
$this->adminUser2 = $this
->drupalCreateUser([
'access content',
'administer content types',
'administer node form display',
'create ' . $this->type . ' content',
'schedule publishing of nodes',
]);
}