Browse Source

added TODO for Load class DEBUG autoload

master
Anton Grebnev 13 years ago
parent
commit
b2f20ff293
  1. 6
      tests/LoadTest.php

6
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()

Loading…
Cancel
Save