You are here

protected function FilterCombineTest::dataSet in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Handler/FilterCombineTest.php \Drupal\views\Tests\Handler\FilterCombineTest::dataSet()

Additional data to test the NULL issue.

Overrides ViewKernelTestBase::dataSet

File

core/modules/views/src/Tests/Handler/FilterCombineTest.php, line 140
Contains \Drupal\views\Tests\Handler\FilterCombineTest.

Class

FilterCombineTest
Tests the combine filter handler.

Namespace

Drupal\views\Tests\Handler

Code

protected function dataSet() {
  $data_set = parent::dataSet();
  $data_set[] = array(
    'name' => 'Ginger',
    'age' => 25,
    'job' => NULL,
    'created' => gmmktime(0, 0, 0, 1, 2, 2000),
    'status' => 1,
  );
  return $data_set;
}