diff --git a/lib/Cake/Test/Case/View/ViewTest.php b/lib/Cake/Test/Case/View/ViewTest.php index 398d3f41b..4eb9710f6 100644 --- a/lib/Cake/Test/Case/View/ViewTest.php +++ b/lib/Cake/Test/Case/View/ViewTest.php @@ -724,7 +724,7 @@ class ViewTest extends CakeTestCase { 'path' => CACHE . 'views' . DS, 'prefix' => '' )); - Cache::clear(false, 'test_view'); + Cache::clear(true, 'test_view'); $View = new TestView($this->PostsController); $View->elementCache = 'test_view'; @@ -761,7 +761,7 @@ class ViewTest extends CakeTestCase { $result = Cache::read('element__test_element_cache_param_foo', 'test_view'); $this->assertEquals($expected, $result); - Cache::clear(false, 'test_view'); + Cache::clear(true, 'test_view'); Cache::drop('test_view'); }