Esempio n. 1
0
 protected function tearDown()
 {
     // reset app files_trashbin
     if ($this->stateFilesTrashbin) {
         OC_App::enable('files_trashbin');
     } else {
         OC_App::disable('files_trashbin');
     }
     parent::tearDown();
 }
Esempio n. 2
0
 protected function tearDown()
 {
     // reset app files_trashbin
     if ($this->stateFilesTrashbin) {
         OC_App::enable('files_trashbin');
     } else {
         OC_App::disable('files_trashbin');
     }
     $this->assertTrue(\OC_FileProxy::$enabled);
     \OCP\Config::deleteSystemValue('cipher');
     parent::tearDown();
 }
Esempio n. 3
0
 function tearDown()
 {
     $this->view->deleteAll('/' . Test_Encryption_Keymanager::TEST_USER . '/files_encryption/share-keys');
     $this->view->deleteAll('/' . Test_Encryption_Keymanager::TEST_USER . '/files_encryption/keyfiles');
     parent::tearDown();
 }