Replacement of assertEquals() to assertSame()
This commit is contained in:
@ -29,7 +29,7 @@ class StaticActionTest extends Action_TestCase
|
||||
$controller->setView('SomeView');
|
||||
$action = $this->getMockForAbstractClass('StaticAction', array(), 'StaticActionMock');
|
||||
$result = $action->fetch();
|
||||
$this->assertEquals('/static/StaticActi', $result['template']);
|
||||
$this->assertSame('/static/StaticActi', $result['template']);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -45,6 +45,6 @@ class StaticActionTest extends Action_TestCase
|
||||
$controller->setView('SomeView');
|
||||
$action = $this->getMockForAbstractClass('StaticAction', array(), 'StaticActionMock');
|
||||
$result = $action->fetch();
|
||||
$this->assertEquals('/static/SomeTemplate', $result['template']);
|
||||
$this->assertSame('/static/SomeTemplate', $result['template']);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user