mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
a58416b6f6
- Removed PHP 5.5. build (no longer supported) - Removed PG and SQLite tests (tested through installer nightly) - Added code coverage and linting tests - Fixed linting errors
38 lines
684 B
PHP
38 lines
684 B
PHP
<?php
|
|
namespace SilverStripe\Reports\Tests;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\ArrayList;
|
|
use SilverStripe\Reports\Report;
|
|
|
|
/**
|
|
* @package reports
|
|
* @subpackage tests
|
|
*/
|
|
abstract class ReportTest_FakeTest_Abstract extends Report implements TestOnly
|
|
{
|
|
|
|
public function title()
|
|
{
|
|
return 'Report title Abstract';
|
|
}
|
|
|
|
public function columns()
|
|
{
|
|
return array(
|
|
"Title" => array(
|
|
"title" => "Page Title Abstract"
|
|
)
|
|
);
|
|
}
|
|
public function sourceRecords($params, $sort, $limit)
|
|
{
|
|
return new ArrayList();
|
|
}
|
|
|
|
public function sort()
|
|
{
|
|
return 5;
|
|
}
|
|
}
|