You are here

function ViewsHandlerFieldBooleanTest::dataSet in Views (for Drupal 7) 7.3

A very simple test dataset.

Overrides ViewsSqlTest::dataSet

File

tests/handlers/views_handler_field_boolean.test, line 20
Definition of ViewsHandlerFieldBooleanTest.

Class

ViewsHandlerFieldBooleanTest
Tests the core views_handler_field_boolean handler.

Code

function dataSet() {

  // Use default dataset but remove the age from john and paul.
  $data = parent::dataSet();
  $data[0]['age'] = 0;
  $data[3]['age'] = 0;
  return $data;
}