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