Fix hhvm not running tests in a separate process
parent
896d1d71f8
commit
589b1d6fa2
|
@ -16,9 +16,6 @@ use Composer\Test\Mock\XdebugHandlerMock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author John Stevenson <john-stevenson@blueyonder.co.uk>
|
* @author John Stevenson <john-stevenson@blueyonder.co.uk>
|
||||||
*
|
|
||||||
* @backupGlobals disabled
|
|
||||||
* @runTestsInSeparateProcesses
|
|
||||||
*/
|
*/
|
||||||
class XdebugHandlerTest extends \PHPUnit_Framework_TestCase
|
class XdebugHandlerTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
@ -48,6 +45,9 @@ class XdebugHandlerTest extends \PHPUnit_Framework_TestCase
|
||||||
$xdebug = new XdebugHandlerMock($loaded);
|
$xdebug = new XdebugHandlerMock($loaded);
|
||||||
$xdebug->check();
|
$xdebug->check();
|
||||||
$this->assertFalse($xdebug->restarted);
|
$this->assertFalse($xdebug->restarted);
|
||||||
|
|
||||||
|
// Clear env for subsequent tests
|
||||||
|
putenv(XdebugHandlerMock::ENV_ALLOW.'=0');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testForceColorSupport()
|
public function testForceColorSupport()
|
||||||
|
|
Loading…
Reference in New Issue