From 6147de77259dad9439a6863744394b4637e4c657 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 10 Jan 2010 12:52:06 -0500 Subject: [PATCH] Fixing notice errors in test case. --- cake/tests/cases/libs/view/view.test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/tests/cases/libs/view/view.test.php b/cake/tests/cases/libs/view/view.test.php index d13b1d58f..42e315819 100644 --- a/cake/tests/cases/libs/view/view.test.php +++ b/cake/tests/cases/libs/view/view.test.php @@ -697,6 +697,7 @@ class ViewTest extends CakeTestCase { $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);