You are here

protected function DisplayBlockTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php \Drupal\Tests\block\Functional\Views\DisplayBlockTest::setUp()
  2. 9 core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php \Drupal\Tests\block\Functional\Views\DisplayBlockTest::setUp()

Overrides ViewTestBase::setUp

File

core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php, line 55

Class

DisplayBlockTest
Tests the block display plugin.

Namespace

Drupal\Tests\block\Functional\Views

Code

protected function setUp($import_test_views = TRUE, $modules = [
  'block_test_views',
]) : void {
  parent::setUp($import_test_views, $modules);
  $this
    ->enableViewsTestModule();
}