Run Some test in separate process to avoid autoload problems

This commit is contained in:
Anton Terekhov
2011-11-28 14:36:45 +04:00
parent 443655064c
commit 4af6dcd7db

View File

@ -109,6 +109,7 @@ class LoadTest extends PHPUnit_Framework_TestCase
}
/**
* @runInSeparateProcess
* @TODO: Load - check if input file returns array
*/
public function testFileForArray()
@ -117,6 +118,9 @@ class LoadTest extends PHPUnit_Framework_TestCase
$this->assertInternalType('array', $autoload);
}
/**
* @runInSeparateProcess
*/
public function testAutoloadArrayNotEmpty()
{
$autoload = require(self::$file);