Browse Source

It uses a TMP subdirectory for tests that delete cache files

Mirko Pagliai 9 years ago
parent
commit
bd4482e610
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Shell/CacheShellTest.php

+ 1 - 1
tests/TestCase/Shell/CacheShellTest.php

@@ -34,7 +34,7 @@ class CacheShellTest extends TestCase
         parent::setUp();
         $this->io = $this->getMockBuilder('Cake\Console\ConsoleIo')->getMock();
         $this->shell = new CacheShell($this->io);
-        Cache::config('test', ['engine' => 'File', 'path' => TMP]);
+        Cache::config('test', ['engine' => 'File', 'path' => TMP . 'cache']);
     }
 
     /**