diff --git a/cake/tests/cases/libs/view/view.test.php b/cake/tests/cases/libs/view/view.test.php index d13b1d58fb9..42e31581926 100644 --- a/cake/tests/cases/libs/view/view.test.php +++ b/cake/tests/cases/libs/view/view.test.php @@ -697,6 +697,7 @@ function testRender() { $this->PostsController->helpers = array('Cache', 'Html'); $this->PostsController->constructClasses(); $this->PostsController->cacheAction = array('index' => 3600); + $this->PostsController->params['action'] = 'index'; Configure::write('Cache.check', true); $View = new TestView($this->PostsController);