function ViewsHandlerFieldDateTest::dataSet

Appends dataSet() with a data row for "today time ago" format testing.

Overrides ViewsSqlTest::dataSet

File

tests/handlers/views_handler_field_date.test, line 121

Class

ViewsHandlerFieldDateTest
Tests the core views_handler_field_date handler.

Code

protected function dataSet() {
    $data = parent::dataSet();
    $data[] = array(
        'name' => 'David',
        'age' => 25,
        'job' => 'Singer',
        'created' => REQUEST_TIME - 120,
    );
    return $data;
}