You are here

protected function FieldUrlTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Handler/FieldUrlTest.php \Drupal\views\Tests\Handler\FieldUrlTest::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/FieldUrlTest.php, line 30
Contains \Drupal\views\Tests\Handler\FieldUrlTest.

Class

FieldUrlTest
Tests the core Drupal\views\Plugin\views\field\Url handler.

Namespace

Drupal\views\Tests\Handler

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', 'url_alias');
}