From b2f20ff293ab227224f68bfffd8ac27efed9b075 Mon Sep 17 00:00:00 2001 From: Anton Grebnev Date: Fri, 14 Oct 2011 13:23:07 +0400 Subject: [PATCH] added TODO for Load class DEBUG autoload --- tests/LoadTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/LoadTest.php b/tests/LoadTest.php index a03b727..4e402aa 100644 --- a/tests/LoadTest.php +++ b/tests/LoadTest.php @@ -60,6 +60,9 @@ class LoadTest extends PHPUnit_Framework_TestCase Load::autoload('Action'); } + /** + * @TODO: Load::autoload() needs self::$autoload = require(self::$file); after self::buildAutoload(); + */ public function testDebugAutoload() { Load::setAutoloadFrom(self::$file); @@ -69,8 +72,7 @@ class LoadTest extends PHPUnit_Framework_TestCase define('DEBUG', true); Load::autoload('Func'); - Load::autoload('Captcha'); - + Load::autoload('Captcha'); } public function testAutoloadArrayExists()