From 7c276a63b2e6e6ca692c8264e566be1a0bb069f7 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 9 Nov 2021 18:35:03 -0500 Subject: [PATCH] report seems fine now --- tests/phpunit/api/v3/ReportTemplateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 14223837c4..6e173c7d62 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -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]]); -- 2.25.1