You are here

protected function DisplayBlockTest::setUp in Drupal 8

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

Class

DisplayBlockTest
Tests the block display plugin.

Namespace

Drupal\Tests\block\Functional\Views

Code

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