You are here

protected function DataExportTest::setUp in Views data export 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/Plugin/views/style/DataExportTest.php, line 39

Class

DataExportTest
Tests the data export style serializer.

Namespace

Drupal\Tests\views_data_export\Kernel\Plugin\views\style

Code

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