Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prevent deletion of views/cache/empty in test runs

  • Loading branch information...
commit e59bff2729fce0606b9ede932fa9ad4592730000 1 parent c6449f6
@rchavik rchavik authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/View/ViewTest.php
View
4 lib/Cake/Test/Case/View/ViewTest.php
@@ -724,7 +724,7 @@ public function testElementCache() {
'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 @@ public function testElementCache() {
$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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.