fix broken tests

This commit is contained in:
Florin Peter 2013-05-31 20:55:05 +02:00
parent cdb2f559a8
commit d85a10ebc5
1 changed files with 1 additions and 1 deletions

View File

@ -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);