mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing notice errors in test case.
This commit is contained in:
parent
b47b858355
commit
6147de7725
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue