Browse Source

Fixed broken Controller::setAction() testcase

Jose Diaz-Gonzalez 14 years ago
parent
commit
adde2a9af5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Test/Case/Controller/ControllerTest.php

+ 1 - 1
lib/Cake/Test/Case/Controller/ControllerTest.php

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