From 873ca028764d4a3da9c95b3a27791076b8f2d630 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 13 Sep 2018 10:33:50 +0100 Subject: [PATCH] Fixed styling and included Contact detail report in SelectWhereClause test --- CRM/Report/Form/Contact/Detail.php | 2 +- tests/phpunit/api/v3/ReportTemplateTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index efa522f802..f6dc3935e9 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -463,7 +463,7 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form { $this->joinEmailFromContact(); // only include tables that are in from clause - $componentTables = array_intersect($this->_aliases, $this->_component); + $componentTables = array_intersect($this->_aliases, $this->_component); $componentTables = array_flip($componentTables); $this->_selectedTables = array_diff($this->_selectedTables, $componentTables); diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index 1bcb9ac0cf..87ba2a7e0c 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -151,7 +151,6 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase { // Exclude all that do not work as of test being written. I have not dug into why not. $currentlyExcluded = [ 'contribute/repeat', - 'contact/detail', 'member/summary', 'event/summary', 'case/summary', -- 2.25.1