You are here

protected function ViewsDataExportTest::setUp in Views data export 8

Overrides ViewTestBase::setUp

File

tests/src/Functional/ViewsDataExportTest.php, line 35

Class

ViewsDataExportTest
Tests views data export views.

Namespace

Drupal\Tests\views_data_export\Functional

Code

protected function setUp($import_test_views = TRUE) {
  parent::setUp($import_test_views);
  ViewTestData::createTestViews(static::class, [
    'views_data_export_test',
  ]);
  $account = $this
    ->drupalCreateUser([
    'access content',
  ]);
  $this
    ->drupalLogin($account);
}