You are here

protected function DisplayBlockTest::setUp in Drupal 9

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()

Overrides ViewTestBase::setUp

File

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

Class

DisplayBlockTest
Tests the block display plugin.

Namespace

Drupal\Tests\block\Functional\Views

Code

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