From c9e862ccbae4a659d8bb449ec63de1aa4756df28 Mon Sep 17 00:00:00 2001
From: Florin Peter <github@florin-peter.de>
Date: Tue, 21 May 2013 07:19:23 +0200
Subject: [PATCH] fix broken tests

---
 apps/files_encryption/tests/share.php | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php
index 0b806394eb..849f16c696 100755
--- a/apps/files_encryption/tests/share.php
+++ b/apps/files_encryption/tests/share.php
@@ -557,15 +557,6 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase
 
 	function testRecoveryFile()
 	{
-		// disable encryption proxy to prevent recursive calls
-		$proxyStatus = \OC_FileProxy::$enabled;
-		\OC_FileProxy::$enabled = false;
-
-		$this->view->unlink('/owncloud_private_key');
-		$this->view->unlink('/public-keys');
-
-		\OC_FileProxy::$enabled = $proxyStatus;
-
 		\OCA\Encryption\Helper::adminEnableRecovery(null, 'test123');
 		$recoveryKeyId = OC_Appconfig::getValue('files_encryption', 'recoveryKeyId');
 
-- 
GitLab