Skip to content

Commit

Permalink
It uses a TMP subdirectory for tests that delete cache files
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko-pagliai committed Nov 29, 2016
1 parent 2c0afb5 commit bd4482e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Shell/CacheShellTest.php
Expand Up @@ -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']);
}

/**
Expand Down

0 comments on commit bd4482e

Please sign in to comment.