summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/api.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-04 14:32:15 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-04 14:32:15 +0200
commit2e7f481e6bcc9b9d2aea986c86af123f1ec265c0 (patch)
tree60e6c937905ec2572902652b2eab15b19d9bf2a7 /apps/files_sharing/tests/api.php
parentdd2bf691520319e6ad129fc6ab44fb3a8f6427c5 (diff)
downloadnextcloud-server-2e7f481e6bcc9b9d2aea986c86af123f1ec265c0.tar.gz
nextcloud-server-2e7f481e6bcc9b9d2aea986c86af123f1ec265c0.zip
update tests
Diffstat (limited to 'apps/files_sharing/tests/api.php')
-rw-r--r--apps/files_sharing/tests/api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php
index 7cbfe03b49e..c55c186f089 100644
--- a/apps/files_sharing/tests/api.php
+++ b/apps/files_sharing/tests/api.php
@@ -268,8 +268,8 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
// share was successful?
$this->assertTrue(is_string($result));
- $_GET['file'] = $this->folder;
- $_GET['subfiles'] = 'yes';
+ $_GET['path'] = $this->folder;
+ $_GET['subfiles'] = 'true';
$result = Share\Api::getAllShares(array());
@@ -434,7 +434,7 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
$params = array();
$params['id'] = $linkShare['id'];
$params['_put'] = array();
- $params['_put']['publicUpload'] = 'yes';
+ $params['_put']['publicUpload'] = 'true';
$result = Share\Api::updateShare($params);