don't throw fatal error in updater cache if setup failed for some reason

This commit is contained in:
Robin Appelman 2012-11-22 13:14:39 +01:00
parent 810563ae8a
commit 8ce5e0d30d
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ class Updater extends \PHPUnit_Framework_TestCase {
}
public function tearDown() {
$this->cache->clear();
if($this->cache){
$this->cache->clear();
}
Filesystem::tearDown();
}