From 428f5595cd0b913dc7bac917b385130c771a1a92 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sun, 8 Feb 2015 14:27:06 -0800 Subject: [PATCH] Fix fatal errors which break CRM_AllTests. --- tests/phpunit/CRM/Contact/AllTests.php | 2 +- tests/phpunit/CRM/Group/Page/AjaxTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Contact/AllTests.php b/tests/phpunit/CRM/Contact/AllTests.php index 1975e8354d..bbd7e05475 100644 --- a/tests/phpunit/CRM/Contact/AllTests.php +++ b/tests/phpunit/CRM/Contact/AllTests.php @@ -47,7 +47,7 @@ class CRM_Contacts_AllTests extends CiviTestSuite { */ private static function getInstance() { if (is_null(self::$instance)) { - self::$instance = new CiviTestSuite(); + self::$instance = new self(); } return self::$instance; } diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index 4c53456e2b..30f2976a89 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -17,7 +17,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase { */ protected $_permissionedDisabledGroup; - protected $hookClass; + public $hookClass; protected $_params = array(); -- 2.25.1