Replacement of assertEquals() to assertSame()
This commit is contained in:
@ -42,7 +42,7 @@ class PHPViewTest extends PHPUnit_Framework_TestCase
|
||||
public function testPHPViewConstructor()
|
||||
{
|
||||
$this->assertInstanceOf('PHPView', $this->view);
|
||||
$this->assertEquals('vfs://root/views/', $this->view->getPath());
|
||||
$this->assertSame('vfs://root/views/', $this->view->getPath());
|
||||
}
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ class PHPViewTest extends PHPUnit_Framework_TestCase
|
||||
public function testEscape()
|
||||
{
|
||||
$result = $this->view->escape('"<>"');
|
||||
$this->assertEquals('"<>"', $result);
|
||||
$this->assertSame('"<>"', $result);
|
||||
}
|
||||
|
||||
public function testCall()
|
||||
|
Reference in New Issue
Block a user