]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix broken tests
authorFlorin Peter <github@florin-peter.de>
Tue, 21 May 2013 05:19:23 +0000 (07:19 +0200)
committerFlorin Peter <github@florin-peter.de>
Tue, 21 May 2013 05:19:23 +0000 (07:19 +0200)
apps/files_encryption/tests/share.php

index 0b806394eb3be2e9ac086ede9bccc3b4b42650a9..849f16c696da5f6f3a751e47123d261e4ee3e7bb 100755 (executable)
@@ -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');