Fixed test error for testDebugAutoload() with coverage
This commit is contained in:
@ -36,7 +36,6 @@ class LoadTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @TODO: Load->buildAutoload() should recieve AutoloadBuilder as a parameter
|
||||
* @TODO: Load->buildAutoload() - uses two paths - PATH . '/' . APP . '/src' and PATH . '/lib' those are not checked. Can cause error.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
@ -113,7 +112,6 @@ class LoadTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @TODO: Load - check if input file returns array
|
||||
*/
|
||||
public function testFileForArray()
|
||||
{
|
||||
@ -142,7 +140,6 @@ class LoadTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @TODO: Load::getFilePath - check for wrong index
|
||||
* @runInSeparateProcess
|
||||
*/
|
||||
public function testAutoloadGetFilePathNullIndex()
|
||||
@ -160,6 +157,7 @@ class LoadTest extends PHPUnit_Framework_TestCase
|
||||
public function testDebugAutoload()
|
||||
{
|
||||
$this->setConstants();
|
||||
unlink(self::$file);
|
||||
Load::setAutoloadFrom(self::$file);
|
||||
|
||||
$autoload = require(self::$file);
|
||||
|
Reference in New Issue
Block a user