diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-31 20:55:05 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-31 20:55:05 +0200 |
commit | d85a10ebc544455b55f0ba86bc3d8f7bcd4187ee (patch) | |
tree | 73acc4d2a63053eb6f375a2ebed5e513f39209ab /apps/files_encryption | |
parent | cdb2f559a82e3280c546cf9f1de6a0ae225e3f94 (diff) | |
download | nextcloud-server-d85a10ebc544455b55f0ba86bc3d8f7bcd4187ee.tar.gz nextcloud-server-d85a10ebc544455b55f0ba86bc3d8f7bcd4187ee.zip |
fix broken tests
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-x | apps/files_encryption/tests/share.php | 2 |
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); |