コード例 #1
0
ファイル: cache.php プロジェクト: heldernl/owncloud8-extended
 protected function tearDown()
 {
     if ($this->instance) {
         $this->instance->clear();
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: usercache.php プロジェクト: adolfo2103/hcloudfilem
 protected function tearDown()
 {
     \OC_User::setUserId($this->user);
     \OC_Config::setValue('cachedirectory', $this->datadir);
     // Restore the original mount point
     \OC\Files\Filesystem::clearMounts();
     \OC\Files\Filesystem::mount($this->storage, array(), '/');
     parent::tearDown();
 }
コード例 #3
0
ファイル: file.php プロジェクト: Commenter123/core
 protected function tearDown()
 {
     $this->instance->remove('hack', 'hack');
     \OC_User::setUserId($this->user);
     \OC::$server->getConfig()->setSystemValue('cachedirectory', $this->datadir);
     // Restore the original mount point
     \OC\Files\Filesystem::clearMounts();
     \OC\Files\Filesystem::mount($this->storage, array(), '/');
     parent::tearDown();
 }