From bd4482e610b07a618b7bc3e7dd99e622e2c1d183 Mon Sep 17 00:00:00 2001 From: Mirko Pagliai Date: Tue, 29 Nov 2016 15:13:03 +0100 Subject: [PATCH] It uses a TMP subdirectory for tests that delete cache files --- tests/TestCase/Shell/CacheShellTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/Shell/CacheShellTest.php b/tests/TestCase/Shell/CacheShellTest.php index 8225bdfa4a0..9a04a6acd1e 100644 --- a/tests/TestCase/Shell/CacheShellTest.php +++ b/tests/TestCase/Shell/CacheShellTest.php @@ -34,7 +34,7 @@ public function setUp() 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']); } /**