public function FieldFileSizeTest::dataSet in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php \Drupal\Tests\views\Kernel\Handler\FieldFileSizeTest::dataSet()
- 9 core/modules/views/tests/src/Kernel/Handler/FieldFileSizeTest.php \Drupal\Tests\views\Kernel\Handler\FieldFileSizeTest::dataSet()
File
- core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFileSizeTest.php, line 23
Class
- FieldFileSizeTest
- Tests the core Drupal\views\Plugin\views\field\FileSize handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
public function dataSet() {
$data = parent::dataSet();
$data[0]['age'] = 0;
$data[1]['age'] = 10;
$data[2]['age'] = 1000;
$data[3]['age'] = 10000;
return $data;
}