You are here

protected function SettingsTrayBlockFormTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $user = $this
    ->createUser([
    'administer blocks',
    'access contextual links',
    'access toolbar',
    'administer nodes',
    'search content',
  ]);
  $this
    ->drupalLogin($user);
}