aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-31 20:55:05 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-31 20:55:05 +0200
commitd85a10ebc544455b55f0ba86bc3d8f7bcd4187ee (patch)
tree73acc4d2a63053eb6f375a2ebed5e513f39209ab /apps/files_encryption
parentcdb2f559a82e3280c546cf9f1de6a0ae225e3f94 (diff)
downloadnextcloud-server-d85a10ebc544455b55f0ba86bc3d8f7bcd4187ee.tar.gz
nextcloud-server-d85a10ebc544455b55f0ba86bc3d8f7bcd4187ee.zip
fix broken tests
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-xapps/files_encryption/tests/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php
index 6d92881ceb0..816bc709f26 100755
--- a/apps/files_encryption/tests/share.php
+++ b/apps/files_encryption/tests/share.php
@@ -534,7 +534,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
// some hacking to simulate public link
$GLOBALS['app'] = 'files_sharing';
$GLOBALS['fileOwner'] = \Test_Encryption_Share::TEST_ENCRYPTION_SHARE_USER1;
- \OC_User::setUserId('');
+ \OC_User::setUserId(false);
// get file contents
$retrievedCryptedFile = file_get_contents('crypt://' . $this->filename);