Created
October 23, 2012 00:19
-
-
Save zombor/3935789 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/classes/kohana/unittest/tests.php b/classes/kohana/unittest/tests.php | |
index b87ba52..98f8974 100644 | |
--- a/classes/kohana/unittest/tests.php | |
+++ b/classes/kohana/unittest/tests.php | |
@@ -18,7 +18,7 @@ class Kohana_Unittest_Tests { | |
* is greater than or equal to 3.5 | |
* @var boolean | |
*/ | |
- static protected $phpunit_v35 = FALSE; | |
+ static protected $phpunit_v35 = TRUE; | |
/** | |
* Loads test files if they cannot be found by kohana | |
@@ -51,7 +51,7 @@ class Kohana_Unittest_Tests { | |
spl_autoload_register(array('Unittest_tests', 'autoload')); | |
// As of PHPUnit v3.5 there are slight differences in the way files are black|whitelisted | |
- self::$phpunit_v35 = function_exists('phpunit_autoload'); | |
+ // self::$phpunit_v35 = function_exists('phpunit_autoload'); | |
Unittest_tests::$cache = (($cache = Kohana::cache('unittest_whitelist_cache')) === NULL) ? array() : $cache; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment