1 views_handler_field_file_extension.test ViewsHandlerFileExtensionTest::dataSet()

A very simple test dataset.

Overrides ViewsSqlTest::dataSet

File

core/modules/views/tests/handlers/views_handler_field_file_extension.test, line 13
Definition of ViewsHandlerFileExtensionTest.

Class

ViewsHandlerFileExtensionTest
Tests the views_handler_field_file_extension handler.

Code

function dataSet() {
  $data = parent::dataSet();
  $data[0]['name'] = 'file.png';
  $data[1]['name'] = 'file.tar';
  $data[2]['name'] = 'file.tar.gz';
  $data[3]['name'] = 'file';

  return $data;
}