1 views_handler_field_boolean.test | ViewsHandlerFieldBooleanTest::dataSet() |
A very simple test dataset.
Overrides ViewsSqlTest::dataSet
File
- core/
modules/ views/ tests/ handlers/ views_handler_field_boolean.test, line 13 - 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;
}