You are here

protected function ViewsDataIntegrationTest::setUp in Workbench Moderation 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/ViewsDataIntegrationTest.php, line 29

Class

ViewsDataIntegrationTest
Tests the views integration of workbench_moderation.

Namespace

Drupal\Tests\workbench_moderation\Kernel

Code

protected function setUp($import_test_views = TRUE) {
  parent::setUp($import_test_views);
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('node', 'node_access');
  $this
    ->installConfig('workbench_moderation_test_views');
}