mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #3822 from owncloud/graceful_teardown_of_cache
graceful teardown of cache
This commit is contained in:
commit
993a1f1976
1 changed files with 3 additions and 1 deletions
4
tests/lib/files/cache/cache.php
vendored
4
tests/lib/files/cache/cache.php
vendored
|
|
@ -348,7 +348,9 @@ class Cache extends \PHPUnit_Framework_TestCase {
|
|||
}
|
||||
|
||||
public function tearDown() {
|
||||
$this->cache->clear();
|
||||
if ($this->cache) {
|
||||
$this->cache->clear();
|
||||
}
|
||||
}
|
||||
|
||||
public function setUp() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue