mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Refactoring tests
This commit is contained in:
parent
6bb3ab1868
commit
885da4c8ef
6 changed files with 23 additions and 23 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue