protected function SettingsTrayBlockFormTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayBlockFormTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php, line 34
Class
- SettingsTrayBlockFormTest
- Testing opening and saving block forms in the off-canvas dialog.
Namespace
Drupal\Tests\settings_tray\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$user = $this
->createUser([
'administer blocks',
'access contextual links',
'access toolbar',
'administer nodes',
'search content',
]);
$this
->drupalLogin($user);
}