Permalink
Browse files

Fixed broken Controller::setAction() testcase

  • Loading branch information...
1 parent ad2472a commit adde2a9af52f55abab940e8a19bebdba2fb49612 @josegonzalez josegonzalez committed Jan 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Controller/ControllerTest.php
@@ -997,7 +997,7 @@ public function testSetAction() {
$expected = array('testId' => 1, 'test2Id' => 2);
$this->assertSame($expected, $TestController->request->data);
$this->assertSame('view', $TestController->request->params['action']);
- $this->assertSame('index', $TestController->view);
+ $this->assertSame('view', $TestController->view);
}
/**

0 comments on commit adde2a9

Please sign in to comment.