You are here

protected function FilterCombineTest::dataSet in Views (for Drupal 7) 8.3

Additional data to test the NULL issue.

Overrides ViewTestBase::dataSet

File

lib/Drupal/views/Tests/Handler/FilterCombineTest.php, line 91
Definition of 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),
  );
  return $data_set;
}