Fix fatal errors which break CRM_AllTests.
authorTim Otten <totten@civicrm.org>
Sun, 8 Feb 2015 22:27:06 +0000 (14:27 -0800)
committerTim Otten <totten@civicrm.org>
Sun, 8 Feb 2015 22:27:40 +0000 (14:27 -0800)
tests/phpunit/CRM/Contact/AllTests.php
tests/phpunit/CRM/Group/Page/AjaxTest.php

index 1975e8354db9ef65ad52cd891477ef0cff1faa13..bbd7e0547583ab7243625791610d3afeeeded0db 100644 (file)
@@ -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;
   }
index 4c53456e2b3a2ef958a456c06fcba3cd609c8a90..30f2976a899f9149014e4fbf8c926c523f6c7724 100644 (file)
@@ -17,7 +17,7 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase {
    */
   protected $_permissionedDisabledGroup;
 
-  protected $hookClass;
+  public $hookClass;
 
   protected $_params = array();