safer teardown

remotes/origin/poc-doctrine-migrations
Robin Appelman 11 years ago
parent 32067f9e80
commit 0789a6433e
  1. 4
      apps/files_sharing/tests/watcher.php

@ -76,7 +76,9 @@ class Test_Files_Sharing_Watcher extends OCA\Files_sharing\Tests\TestCase {
}
protected function tearDown() {
$this->sharedCache->clear();
if ($this->sharedCache) {
$this->sharedCache->clear();
}
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);

Loading…
Cancel
Save