You are here

protected function ViewsKernelTestBase::dataSet in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()
  2. 9 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()

Returns a very simple test dataset.

3 calls to ViewsKernelTestBase::dataSet()
QueryTest::_testQueryExecute in core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
RelationshipTest::testRelationshipQuery in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
Tests the query result of a view with a relationship.
StyleMappingTest::mappedOutputHelper in core/modules/views/tests/src/Kernel/Plugin/StyleMappingTest.php
Tests the mapping of fields.

File

core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php, line 149

Class

ViewsKernelTestBase
Defines a base class for Views kernel testing.

Namespace

Drupal\Tests\views\Kernel

Code

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