]> source.dussan.org Git - nextcloud-server.git/commitdiff
update tests
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 4 Oct 2013 12:32:15 +0000 (14:32 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 4 Oct 2013 12:32:15 +0000 (14:32 +0200)
apps/files_sharing/tests/api.php

index 7cbfe03b49e58ce480a7e947f3ebcc8b9f83dce0..c55c186f089a92787df0b21129307b4e8e640971 100644 (file)
@@ -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);