Permalink
Browse files

fix failing test with webrunner

  • Loading branch information...
1 parent f1d192f commit 18095ed42dfed15868fee6839cffae2495336d7f @ceeram ceeram committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/View/JsonViewTest.php
@@ -76,7 +76,7 @@ public function testRenderWithView() {
App::build(array(
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
));
- $Request = new CakeRequest();
+ $Request = new CakeRequest(null, false);
$Request->params['named'] = array('page' => 2);
$Response = new CakeResponse();
$Controller = new Controller($Request, $Response);

0 comments on commit 18095ed

Please sign in to comment.