From 24d5a341faaae054baef3334cfd7745029d6d1e9 Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 4 Feb 2019 17:39:41 +1300 Subject: [PATCH] Revert "Rewrite testHiddenSmartGroup" This reverts commit 7810fa53a7f5d8be82ebda7fde122d0fd349d358. --- tests/phpunit/CRM/Contact/BAO/GroupTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Contact/BAO/GroupTest.php b/tests/phpunit/CRM/Contact/BAO/GroupTest.php index dfcc8c9630..481e9bca1a 100644 --- a/tests/phpunit/CRM/Contact/BAO/GroupTest.php +++ b/tests/phpunit/CRM/Contact/BAO/GroupTest.php @@ -252,11 +252,9 @@ class CRM_Contact_BAO_GroupTest extends CiviUnitTestCase { $contactID = $this->individualCreate(['custom_' . $customFieldID => 'abc']); - $formValues = ['custom_' . $customFieldID => ['LIKE' => '%a%']]; - $hiddenSmartParams = [ 'group_type' => ['2' => 1], - 'form_values' => CRM_Contact_BAO_Query::convertFormValues($formValues), + 'form_values' => ['custom_' . $customFieldID => ['LIKE' => '%a%']], 'saved_search_id' => NULL, 'search_custom_id' => NULL, 'search_context' => 'advanced', -- 2.25.1