X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FAllTests.php;h=bbd44360f7d6b5850c39af708c93f30949f6f611;hb=ff041a94c0174e3b2539431aa4077c5a7388f0ff;hp=7d73bf1915d541ac9d619b36e95e4a69d2d0dd0b;hpb=6c6e618724401e4472f7763cce97375dd47a7fdc;p=civicrm-core.git diff --git a/tests/phpunit/AllTests.php b/tests/phpunit/AllTests.php index 7d73bf1915..bbd44360f7 100644 --- a/tests/phpunit/AllTests.php +++ b/tests/phpunit/AllTests.php @@ -30,11 +30,6 @@ * . */ -/** - * Include parent class definition - */ -require_once 'CiviTest/CiviTestSuite.php'; - /** * Class containing all test suites * @@ -44,22 +39,22 @@ class AllTests extends CiviTestSuite { private static $instance = NULL; /** - * */ private static function getInstance() { if (is_null(self::$instance)) { - self::$instance = new self; + self::$instance = new self(); } return self::$instance; } /** - * Build test suite dynamically + * Build test suite dynamically. */ public static function suite() { $inst = self::getInstance(); return $inst->implSuite(__FILE__); } + } // class AllTests