diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-10-15 02:17:23 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-10-15 02:17:23 -0700 |
commit | a6d9319328d7379dbd1505de11f75c046deaba0f (patch) | |
tree | e24bf65db8e4e450443675de2680b82abddfc9e6 /apps/files_sharing/tests/api.php | |
parent | fa341e49a8eb0270d33ceb17048c020badeed379 (diff) | |
parent | 7a1705d28eff8bfcf5921fe8dc181a05f6a5f5a7 (diff) | |
download | nextcloud-server-a6d9319328d7379dbd1505de11f75c046deaba0f.tar.gz nextcloud-server-a6d9319328d7379dbd1505de11f75c046deaba0f.zip |
Merge pull request #5269 from owncloud/ocs_share_api_add_received_from
ocs share api: add "received_from" and "received_from_displayname" field
Diffstat (limited to 'apps/files_sharing/tests/api.php')
-rw-r--r-- | apps/files_sharing/tests/api.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php index 9452dd37707..529140849c6 100644 --- a/apps/files_sharing/tests/api.php +++ b/apps/files_sharing/tests/api.php @@ -197,7 +197,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); |