diff --git a/cake/tests/cases/libs/view/view.test.php b/cake/tests/cases/libs/view/view.test.php index eca086ea2..5b3d1cf5c 100644 --- a/cake/tests/cases/libs/view/view.test.php +++ b/cake/tests/cases/libs/view/view.test.php @@ -762,13 +762,12 @@ class ViewTest extends CakeTestCase { Configure::write('Cache.check', true); $Controller =& new ViewPostsController(); - $Controller->cacheAction = '1 day'; + $Controller->cacheAction = '+1 day'; $View =& new View($Controller); $View->loaded['cache'] = new ViewTestMockCacheHelper(); $View->loaded['cache']->expectCallCount('cache', 2); - $result = $View->render('index'); - $this->assertPattern('/posts index/', $result); + $View->render('index'); Configure::write('Cache.check', $_check); }