1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Refactoring tests

This commit is contained in:
Gabriel Caruso 2017-12-03 02:41:58 -02:00
parent 6bb3ab1868
commit 885da4c8ef
6 changed files with 23 additions and 23 deletions

View file

@ -128,7 +128,7 @@ class XdebugHandlerTest extends TestCase
$xdebug = new XdebugHandlerMock($loaded);
$xdebug->check();
$this->assertEquals(false, getenv(XdebugHandlerMock::ENV_VERSION));
$this->assertFalse(getenv(XdebugHandlerMock::ENV_VERSION));
}
public function testEnvVersionWhenRestartFails()
@ -141,7 +141,7 @@ class XdebugHandlerTest extends TestCase
// Mimic failed restart
$xdebug = new XdebugHandlerMock($loaded);
$xdebug->check();
$this->assertEquals(false, getenv(XdebugHandlerMock::ENV_VERSION));
$this->assertFalse(getenv(XdebugHandlerMock::ENV_VERSION));
}
public static function setUpBeforeClass()