1
0
Fork 0

Fix XdebugHandler test

pull/5882/head
johnstevenson 2016-11-21 11:52:56 +00:00
parent 379fb70ad9
commit c1058cf37c
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class XdebugHandlerTest extends \PHPUnit_Framework_TestCase
$xdebug = new XdebugHandlerMock($loaded);
$xdebug->check();
$this->assertTrue($xdebug->restarted);
$this->assertNotEquals(false, getenv(IniHelper::ENV_ORIGINAL));
$this->assertInternalType('string', getenv(IniHelper::ENV_ORIGINAL));
}
public function testNoRestartWhenNotLoaded()
@ -42,7 +42,7 @@ class XdebugHandlerTest extends \PHPUnit_Framework_TestCase
$xdebug = new XdebugHandlerMock($loaded);
$xdebug->check();
$this->assertFalse($xdebug->restarted);
$this->assertEquals(false, getenv(IniHelper::ENV_ORIGINAL));
$this->assertFalse(getenv(IniHelper::ENV_ORIGINAL));
}
public function testNoRestartWhenLoadedAndAllowed()