]> source.dussan.org Git - nextcloud-server.git/commitdiff
control files are no longer needed, remove them from the tests
authorBjörn Schießle <schiessle@owncloud.com>
Mon, 3 Jun 2013 12:21:30 +0000 (14:21 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 11:26:05 +0000 (13:26 +0200)
apps/files_encryption/tests/share.php

index 6d92881ceb0a5e50df1489b34e80cb73a71bafc6..28f0de4941bef0e4dddaec413a90001a590a943b 100755 (executable)
@@ -646,9 +646,6 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
                \OCA\Encryption\Helper::adminEnableRecovery(null, 'test123');
                $recoveryKeyId = OC_Appconfig::getValue('files_encryption', 'recoveryKeyId');
 
-               // check if control file created
-               $this->assertTrue($this->view->file_exists('/control-file/controlfile.enc'));
-
                // login as admin
                \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1);
 
@@ -748,9 +745,6 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
                \OCA\Encryption\Helper::adminEnableRecovery(null, 'test123');
                $recoveryKeyId = OC_Appconfig::getValue('files_encryption', 'recoveryKeyId');
 
-               // check if control file created
-               $this->assertTrue($this->view->file_exists('/control-file/controlfile.enc'));
-
                // login as user1
                \Test_Encryption_Util::loginHelper(\Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER2);