diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-17 11:23:07 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-17 11:23:07 +0200 |
commit | ab6ee79e116d7c212867ae1044bf4672c0b02084 (patch) | |
tree | 9b6d960a8d6c0c1aa7ecee2539abc806d9524542 /apps/files_sharing/tests/api.php | |
parent | abf10ac9bdc3acdcac68f50fe95642e01673ae0b (diff) | |
download | nextcloud-server-ab6ee79e116d7c212867ae1044bf4672c0b02084.tar.gz nextcloud-server-ab6ee79e116d7c212867ae1044bf4672c0b02084.zip |
adjust tests
Diffstat (limited to 'apps/files_sharing/tests/api.php')
-rw-r--r-- | apps/files_sharing/tests/api.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php index 529140849c6..14902df21c6 100644 --- a/apps/files_sharing/tests/api.php +++ b/apps/files_sharing/tests/api.php @@ -197,10 +197,9 @@ 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'], - 'itemType' => 'file'); + $params = array('path' => $this->filename); - $result = Share\Api::getShare($params); + $result = Share\Api::getAllShares($params); $this->assertTrue($result->succeeded()); |