Fixed broken Controller::setAction() testcase

This commit is contained in:
Jose Diaz-Gonzalez 2012-01-15 15:16:49 -05:00
parent ad2472aab0
commit adde2a9af5

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);
}
/**