1
0
Fork 0

Fix hhvm not running tests in a separate process

pull/5580/head
johnstevenson 2016-09-06 16:16:20 +01:00
parent 896d1d71f8
commit 589b1d6fa2
1 changed files with 3 additions and 3 deletions

View File

@ -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()