diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-08-18 09:51:48 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-08-18 09:51:48 -0700 |
commit | 9be836814cb4165ea54a086a0f97526d783bcd37 (patch) | |
tree | ad57d30194571edcf0f51cd83178b8ac2f03c0aa /apps/files_encryption/tests/webdav.php | |
parent | c620c5840ab8ca45531c7639e086bafbd87d7365 (diff) | |
parent | d544a371bfb84f36a3b789d19d44d6694de21c48 (diff) | |
download | nextcloud-server-9be836814cb4165ea54a086a0f97526d783bcd37.tar.gz nextcloud-server-9be836814cb4165ea54a086a0f97526d783bcd37.zip |
Merge pull request #4239 from owncloud/decrypt_files_again
Enable user to decrypt files again after encryption app was disabled
Diffstat (limited to 'apps/files_encryption/tests/webdav.php')
-rwxr-xr-x | apps/files_encryption/tests/webdav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/tests/webdav.php b/apps/files_encryption/tests/webdav.php index 26a002a8b34..33b3ce6f2f2 100755 --- a/apps/files_encryption/tests/webdav.php +++ b/apps/files_encryption/tests/webdav.php @@ -153,7 +153,7 @@ class Test_Encryption_Webdav extends \PHPUnit_Framework_TestCase { $this->assertTrue(Encryption\Crypt::isCatfileContent($encryptedContent)); // get decrypted file contents - $decrypt = file_get_contents('crypt://' . $filename); + $decrypt = file_get_contents('crypt:///' . $this->userId . '/files'. $filename); // check if file content match with the written content $this->assertEquals($this->dataShort, $decrypt); |