From 8d54cdc97236427c83f5e59f7cf8c16dd49641f5 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 2 May 2014 14:07:24 -0700 Subject: [PATCH] test fix - change var to non-static --- tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php b/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php index cc93bb6973..6ce1ff8679 100644 --- a/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php +++ b/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php @@ -54,7 +54,7 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * @package CiviCRM */ class CRM_Contact_Form_Search_Custom_GroupTest extends CiviUnitTestCase { - static $_tablesToTruncate = array( + protected $_tablesToTruncate = array( 'civicrm_group_contact', 'civicrm_group', 'civicrm_saved_search', @@ -89,7 +89,7 @@ class CRM_Contact_Form_Search_Custom_GroupTest extends CiviUnitTestCase { public function testCount($fv, $count, $ids, $full) { $this->foreignKeyChecksOff(); - $this->quickCleanup(self::$_tablesToTruncate); + $this->quickCleanup($this->_tablesToTruncate); // echo "testCount\n"; $op = new PHPUnit_Extensions_Database_Operation_Insert(); -- 2.25.1