Skip to content
Permalink
Browse files

Fix more file permission related problems on windows.

  • Loading branch information...
markstory committed Jul 26, 2014
1 parent c45868e commit 5daf002940427224bf8d19505ead8151263cf46b
Showing with 5 additions and 2 deletions.
  1. +5 −2 tests/TestCase/Cache/CacheTest.php
@@ -442,7 +442,8 @@ public function testCacheDisable() {
Cache::enable();
$this->assertTrue(Cache::write('key_3', 'hello', 'test_cache_disable_1'));
$this->assertSame(Cache::read('key_3', 'test_cache_disable_1'), 'hello');
$this->assertSame('hello', Cache::read('key_3', 'test_cache_disable_1'));
Cache::clear(false, 'test_cache_disable_1');
Cache::disable();
Cache::config('test_cache_disable_2', [
@@ -459,9 +460,11 @@ public function testCacheDisable() {
$this->assertSame(Cache::read('key_5', 'test_cache_disable_2'), 'hello');
Cache::disable();
$this->assertFalse(Cache::write('key_6', 'hello', 'test_cache_disable_2'));
$this->assertFalse(Cache::read('key_6', 'test_cache_disable_2'));
Cache::enable();
Cache::clear(false, 'test_cache_disable_2');
}
/**

0 comments on commit 5daf002

Please sign in to comment.
You can’t perform that action at this time.