Skip to content
Snippets Groups Projects
Commit e2c0c0e2 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Merge pull request #7206 from owncloud/fix_enc_tests

fileinfo is no longer a array
parents 2a7509ee 29336683
Branches
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ class Test_Encryption_Hooks extends \PHPUnit_Framework_TestCase {
$fileInfo = $this->user1View->getFileInfo($this->filename);
// check if we have a valid file info
$this->assertTrue(is_array($fileInfo));
$this->assertTrue($fileInfo instanceof \OC\Files\FileInfo);
// share the file with user2
\OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_USER, self::TEST_ENCRYPTION_HOOKS_USER2, OCP\PERMISSION_ALL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment