Skip to content
Snippets Groups Projects
Unverified Commit 47089833 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #22015 from demeritcowboy/test-histreport

[NFC] report#77 - contribute/history civireport seems ok to run during reporttemplatetest
parents cd827fb2 7c276a63
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,7 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {
$allTemplates = self::getReportTemplates();
// Exclude all that do not work as of test being written. I have not dug into why not.
$currentlyExcluded = [
'contribute/history',
'contribute/repeat',
'member/summary',
'event/summary',
......@@ -383,8 +384,7 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {
public static function getReportTemplates() {
$reportTemplates = [];
$reportsToSkip = [
'event/income' => 'I do no understand why but error is Call to undefined method CRM_Report_Form_Event_Income::from() in CRM/Report/Form.php on line 2120',
'contribute/history' => 'Declaration of CRM_Report_Form_Contribute_History::buildRows() should be compatible with CRM_Report_Form::buildRows($sql, &$rows)',
'event/income' => "This report overrides buildQuery() so doesn't seem compatible with this test and you get a syntax error `WHERE civicrm_event.id IN( ) GROUP BY civicrm_event.id`",
];
$reports = civicrm_api3('report_template', 'get', ['return' => 'value', 'options' => ['limit' => 500]]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment