Navigation Menu

Skip to content

Commit

Permalink
Fix more file permission related problems on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 26, 2014
1 parent c45868e commit 5daf002
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/TestCase/Cache/CacheTest.php
Expand Up @@ -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', [
Expand All @@ -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');
}

/**
Expand Down

0 comments on commit 5daf002

Please sign in to comment.