[Process] Use assertSame instead of assertEquals to avoid comparison against null

This commit is contained in:
Romain Neutron 2014-03-10 16:55:29 +01:00
parent 1017d83260
commit d66f63f2b8

View File

@ -280,7 +280,7 @@ abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
{ {
$process = $this->getProcess('php -m'); $process = $this->getProcess('php -m');
$process->run(); $process->run();
$this->assertEquals(0, $process->getExitCode()); $this->assertSame(0, $process->getExitCode());
} }
public function testStatus() public function testStatus()