function BlockFilterTest::setUp

Same name in this branch
  1. 11.x core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest::setUp()
Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest::setUp()
  2. 9 core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\block\FunctionalJavascript\BlockFilterTest::setUp()
  3. 8.9.x core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest::setUp()
  4. 8.9.x core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\block\FunctionalJavascript\BlockFilterTest::setUp()
  5. 10 core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\BlockFilterTest::setUp()
  6. 10 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 30

Class

BlockFilterTest
Tests the JavaScript functionality of the block add filter.

Namespace

Drupal\Tests\block\FunctionalJavascript

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.