Skip to content
This repository

Fixed broken testcase for Controller::setAction() #409

Merged
merged 1 commit into from over 2 years ago

2 participants

Jose Diaz-Gonzalez José Lorenzo Rodríguez
Jose Diaz-Gonzalez
Collaborator

This is part of my plan to get more commits than @markstory in the core.

José Lorenzo Rodríguez lorenzo merged commit b8d2351 into from January 15, 2012
José Lorenzo Rodríguez lorenzo closed this January 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 15, 2012
Jose Diaz-Gonzalez Fixed broken Controller::setAction() testcase adde2a9
This page is out of date. Refresh to see the latest.
2  lib/Cake/Test/Case/Controller/ControllerTest.php
@@ -997,7 +997,7 @@ public function testSetAction() {
997 997
 		$expected = array('testId' => 1, 'test2Id' => 2);
998 998
 		$this->assertSame($expected, $TestController->request->data);
999 999
 		$this->assertSame('view', $TestController->request->params['action']);
1000  
-		$this->assertSame('index', $TestController->view);
  1000
+		$this->assertSame('view', $TestController->view);
1001 1001
 	}
1002 1002
 
1003 1003
 /**
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.