protected function ViewExecutableTest::setUpFixtures

Sets up the configuration and schema of views and views_test_data modules.

Because the schema of views_test_data.module is dependent on the test using it, it cannot be enabled normally.

Overrides ViewUnitTestBase::setUpFixtures

File

drupal/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php, line 82
Contains \Drupal\views\Tests\ViewExecutableTest.

Class

ViewExecutableTest
Tests the ViewExecutable class.

Namespace

Drupal\views\Tests

Code

protected function setUpFixtures() {
  $this
    ->installSchema('user', array(
    'users',
    'role_permission',
  ));
  $this
    ->installSchema('node', array(
    'node_type',
    'node',
    'node_field_data',
  ));
  $this
    ->installSchema('comment', array(
    'comment',
    'node_comment_statistics',
  ));
  parent::setUpFixtures();
  $this
    ->installConfig(array(
    'filter',
  ));
}