|
|
@ -140,11 +140,11 @@ class LoadTest extends PHPUnit_Framework_TestCase |
|
|
|
|
|
|
|
/** |
|
|
|
* @TODO: Load::getFilePath - check for wrong index |
|
|
|
* @expectedException PHPUnit_Framework_Error |
|
|
|
* @runInSeparateProcess |
|
|
|
*/ |
|
|
|
public function testAutoloadGetFilePathNullIndex() |
|
|
|
{ |
|
|
|
$this->setExpectedException('PHPUnit_Framework_Error'); |
|
|
|
$this->setConstants(); |
|
|
|
Load::setAutoloadFrom(self::$file); |
|
|
|
$autoload = require(self::$file); |
|
|
|