Browse Source

Run Some test in separate process to avoid autoload problems

master
Anton Terekhov 14 years ago
parent
commit
4af6dcd7db
  1. 4
      tests/LoadTest.php

4
tests/LoadTest.php

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

Loading…
Cancel
Save