[Process] Use assertSame instead of assertEquals to avoid comparison against null
This commit is contained in:
parent
1017d83260
commit
d66f63f2b8
@ -280,7 +280,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$process = $this->getProcess('php -m');
|
||||
$process->run();
|
||||
$this->assertEquals(0, $process->getExitCode());
|
||||
$this->assertSame(0, $process->getExitCode());
|
||||
}
|
||||
|
||||
public function testStatus()
|
||||
|
Reference in New Issue
Block a user