mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
control files are no longer needed, remove them from the tests
This commit is contained in:
parent
471d2b732c
commit
42f66af5a3
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue