Replacement of assertEquals() to assertSame()
This commit is contained in:
@ -30,13 +30,13 @@ class CommandProfilerTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
public function testGetType()
|
||||
{
|
||||
$this->assertEquals('method', $this->profiler->getType());
|
||||
$this->assertSame('method', $this->profiler->getType());
|
||||
$this->assertNotEquals('argument', $this->profiler->getType());
|
||||
}
|
||||
|
||||
public function testGetCommand()
|
||||
{
|
||||
$this->assertEquals('exec', $this->profiler->getCommand());
|
||||
$this->assertSame('exec', $this->profiler->getCommand());
|
||||
$this->assertNotEquals('grep', $this->profiler->getCommand());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user