You are here

protected function ViewTestBase::dataSet in Drupal 8

Same name in this branch
  1. 8 core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::dataSet()
  2. 8 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::dataSet()

Returns a very simple test dataset.

1 call to ViewTestBase::dataSet()
ViewTestBase::enableViewsTestModule in core/modules/views/src/Tests/ViewTestBase.php
Sets up the views_test_data.module.

File

core/modules/views/src/Tests/ViewTestBase.php, line 153

Class

ViewTestBase
Defines a base class for Views testing in the full web test environment.

Namespace

Drupal\views\Tests

Code

protected function dataSet() {
  return ViewTestData::dataSet();
}