graceful teardown of cache

This commit is contained in:
Jörn Friedrich Dreyer 2013-06-24 12:59:56 +02:00
parent 073464af0b
commit 4ecca9e97b
1 changed files with 3 additions and 1 deletions

View File

@ -348,8 +348,10 @@ class Cache extends \PHPUnit_Framework_TestCase {
}
public function tearDown() {
if ($this->cache) {
$this->cache->clear();
}
}
public function setUp() {
$this->storage = new \OC\Files\Storage\Temporary(array());