You are here

protected function MultiversionTestBase::setUp in Multiversion 8

Overrides ViewTestBase::setUp

File

tests/src/Functional/Views/MultiversionTestBase.php, line 20

Class

MultiversionTestBase
Base class for all multiversion views tests.

Namespace

Drupal\Tests\multiversion\Functional\Views

Code

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