mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix api tests
This commit is contained in:
parent
3dd313dca2
commit
7a1705d28e
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
|
|||
\OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_LINK,
|
||||
null, 1);
|
||||
|
||||
$params = array('itemSource' => $fileInfo['fileid']);
|
||||
$params = array('itemSource' => $fileInfo['fileid'],
|
||||
'itemType' => 'file');
|
||||
|
||||
$result = Share\Api::getShare($params);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue