Navigation Menu

Skip to content

Commit

Permalink
Fixed failing test due to missing CakeRequest class
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyharris committed Nov 27, 2010
1 parent 8492f20 commit 1411e94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/tests/cases/libs/controller/controller.test.php
Expand Up @@ -757,7 +757,9 @@ function testPaginateExtraParams() {
* @access public
*/
function testPaginateFieldsDouble(){
$Controller =& new Controller();
$request = new CakeRequest('controller_posts/index');

$Controller =& new Controller($request);
$Controller->uses = array('ControllerPost');
$Controller->request->params['url'] = array();
$Controller->constructClasses();
Expand Down

0 comments on commit 1411e94

Please sign in to comment.