Skip to content
Permalink
Browse files

Fixing small variable typo

  • Loading branch information...
Jelle Henkens
Jelle Henkens committed May 12, 2012
1 parent a3a2655 commit c2920aa3bf07ea8e4dfceea6b7bb7d3453039954
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Routing/RouterTest.php
@@ -2487,15 +2487,15 @@ public function testPatternOnAction() {
*/
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),
array('action' => 'edit', 'method' => 'PUT', 'id' => true),
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),

0 comments on commit c2920aa

Please sign in to comment.
You can’t perform that action at this time.