Fixing small variable typo

This commit is contained in:
Jelle Henkens 2012-05-12 18:43:39 +01:00
parent a3a2655fd5
commit c2920aa3bf

View file

@ -2487,7 +2487,7 @@ class RouterTest extends CakeTestCase {
*/
public function testResourceMap() {
$default = Router::resourceMap();
$exepcted = array(
$expected = array(
array('action' => 'index', 'method' => 'GET', 'id' => false),
array('action' => 'view', 'method' => 'GET', 'id' => true),
array('action' => 'add', 'method' => 'POST', 'id' => false),
@ -2495,7 +2495,7 @@ class RouterTest extends CakeTestCase {
array('action' => 'delete', 'method' => 'DELETE', 'id' => true),
array('action' => 'edit', 'method' => 'POST', 'id' => true)
);
$this->assertEquals($default, $exepcted);
$this->assertEquals($default, $expected);
$custom = array(
array('action' => 'index', 'method' => 'GET', 'id' => false),