Fixing notice errors in test case.

This commit is contained in:
Mark Story 2010-01-10 12:52:06 -05:00
parent b47b858355
commit 6147de7725

View file

@ -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);