diff options
author | icewind1991 <icewind1991@gmail.com> | 2013-06-03 08:13:40 -0700 |
---|---|---|
committer | icewind1991 <icewind1991@gmail.com> | 2013-06-03 08:13:40 -0700 |
commit | 8c991d97aa8d2199d157ba9bc366af126b7764e3 (patch) | |
tree | 2c075b41a216065548b1791d11a62a66eb140417 /apps | |
parent | 2572c9a6b732d5304b69632942de16cfca3a88a3 (diff) | |
parent | 0ce2b2708c7d587e51fdf0bdb5b852863d2b0424 (diff) | |
download | nextcloud-server-8c991d97aa8d2199d157ba9bc366af126b7764e3.tar.gz nextcloud-server-8c991d97aa8d2199d157ba9bc366af126b7764e3.zip |
Merge pull request #3561 from owncloud/user
Refactor of user management
Diffstat (limited to 'apps')
-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); |