You are here

protected function HandlerAliasTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Tests/Handler/HandlerAliasTest.php \Drupal\views\Tests\Handler\HandlerAliasTest::setUp()

Parameters

bool $import_test_views: Should the views specififed on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.

Overrides ViewKernelTestBase::setUp

File

core/modules/views/src/Tests/Handler/HandlerAliasTest.php, line 29
Contains \Drupal\views\Tests\Handler\HandlerAliasTest.

Class

HandlerAliasTest
Tests handler table and field aliases.

Namespace

Drupal\views\Tests\Handler

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
}