You are here

protected function ViewFieldUnitTest::setUp in Views Field View 8

Parameters

bool $import_test_views: Should the views specified 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 ViewsKernelTestBase::setUp

File

tests/src/Kernel/ViewFieldUnitTest.php, line 41

Class

ViewFieldUnitTest
Tests the views field view handler methods.

Namespace

Drupal\Tests\views_field_view\Kernel

Code

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