From ff1767f31187a0ae47c834e24ca60292300c7fec Mon Sep 17 00:00:00 2001 From: Sunil Pawar Date: Mon, 24 Aug 2020 18:19:13 +0530 Subject: [PATCH] Test case , look for smart group only --- tests/phpunit/CRM/Group/Page/AjaxTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index 8a88946e4d..686e16fc9f 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -553,6 +553,8 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase { // Load the Manage Group page code and we should get a count from our // group because the cache is fresh. $_GET = $this->_params; + // look for Smart Group only + $_GET['savedSearch'] = 1; try { CRM_Group_Page_AJAX::getGroupList(); } -- 2.25.1