Merge pull request #409 from josegonzalez/patch-1

Fixed broken testcase for Controller::setAction()
This commit is contained in:
José Lorenzo Rodríguez 2012-01-15 12:20:34 -08:00
commit b8d23515b0

View file

@ -997,7 +997,7 @@ class ControllerTest extends CakeTestCase {
$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);
}
/**