public function setUp() { $this->loginHelper(self::TEST_ENCRYPTION_MIGRATION_USER1); $this->view = new \OC\Files\View(); $this->public_share_key_id = \OCA\Files_Encryption\Helper::getPublicShareKeyId(); $this->recovery_key_id = \OCA\Files_Encryption\Helper::getRecoveryKeyId(); if (\OC_DB::tableExists('encryption_test')) { \OC_DB::dropTable('encryption_test'); } $this->assertTableNotExist('encryption_test'); }