mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
don't throw fatal error in updater cache if setup failed for some reason
This commit is contained in:
parent
810563ae8a
commit
8ce5e0d30d
1 changed files with 3 additions and 1 deletions
4
tests/lib/files/cache/updater.php
vendored
4
tests/lib/files/cache/updater.php
vendored
|
|
@ -61,7 +61,9 @@ class Updater extends \PHPUnit_Framework_TestCase {
|
|||
}
|
||||
|
||||
public function tearDown() {
|
||||
$this->cache->clear();
|
||||
if($this->cache){
|
||||
$this->cache->clear();
|
||||
}
|
||||
Filesystem::tearDown();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue