summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests/webdav.php
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-08-18 09:51:48 -0700
committerBjörn Schießle <bjoern@schiessle.org>2013-08-18 09:51:48 -0700
commit9be836814cb4165ea54a086a0f97526d783bcd37 (patch)
treead57d30194571edcf0f51cd83178b8ac2f03c0aa /apps/files_encryption/tests/webdav.php
parentc620c5840ab8ca45531c7639e086bafbd87d7365 (diff)
parentd544a371bfb84f36a3b789d19d44d6694de21c48 (diff)
downloadnextcloud-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-xapps/files_encryption/tests/webdav.php2
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);