function ViewKernelTestBase::dataSet

Returns a very simple test dataset.

1 call to ViewKernelTestBase::dataSet()
ViewKernelTestBase::setUpFixtures in core/modules/views/src/Tests/ViewKernelTestBase.php
Sets up the configuration and schema of views and views_test_data modules.

File

core/modules/views/src/Tests/ViewKernelTestBase.php, line 155

Class

ViewKernelTestBase
Defines a base class for Views unit testing.

Namespace

Drupal\views\Tests

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.