You are here

protected function BlockFilterTest::setUp in Drupal 8

Same name in this branch
  1. 8 core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\block\FunctionalJavascript\BlockFilterTest::setUp()
  2. 8 core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\block\FunctionalJavascript\BlockFilterTest::setUp()

Overrides BrowserTestBase::setUp

1 call to BlockFilterTest::setUp()
ClaroBlockFilterTest::setUp in core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroBlockFilterTest.php
1 method overrides BlockFilterTest::setUp()
ClaroBlockFilterTest::setUp in core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroBlockFilterTest.php

File

core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php, line 28

Class

BlockFilterTest
Tests the JavaScript functionality of the block add filter.

Namespace

Drupal\Tests\block\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer blocks',
  ]);
  $this
    ->drupalLogin($admin_user);
}