Merge pull request #16001 from agileware/CIVICRM-1383
[civicrm-core.git] / tests / phpunit / CRM / Queue / AllTests.php
index c94da90e3d67e38a8bced856f8c0b6f38e524009..9e1cb11e73c4df5cc5d02044b0c0c5d8d7dccf9a 100644 (file)
  *   <http://www.gnu.org/licenses/>.
  */
 
-/**
- *  Include parent class definition
- */
-require_once 'CiviTest/CiviTestSuite.php';
-
 /**
  *  Class containing all test suites
  *
@@ -47,18 +42,19 @@ class CRM_Queue_AllTests extends CiviTestSuite {
    */
   private static function getInstance() {
     if (is_null(self::$instance)) {
-      self::$instance = new self;
+      self::$instance = new CRM_Queue_AllTests();
     }
     return self::$instance;
   }
 
   /**
-   *  Build test suite dynamically
+   *  Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
     return $inst->implSuite(__FILE__);
   }
+
 }
 // class CRM_Queue_AllTests