better tests
This commit is contained in:
@ -56,6 +56,20 @@ class LoadTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$autoload = require(self::$file);
|
||||
$this->assertNotEmpty($autoload);
|
||||
Load::autoload('Action');
|
||||
}
|
||||
|
||||
public function testDebugAutoload()
|
||||
{
|
||||
Load::setAutoloadFrom(self::$file);
|
||||
|
||||
$autoload = require(self::$file);
|
||||
$this->assertNotEmpty($autoload);
|
||||
|
||||
define('DEBUG', true);
|
||||
Load::autoload('Func');
|
||||
Load::autoload('Captcha');
|
||||
|
||||
}
|
||||
|
||||
public function testAutoloadArrayExists()
|
||||
|
Reference in New Issue
Block a user