summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-11-06 12:05:19 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-11-16 13:32:28 +0100
commit1e9fc332125aa8e730c3cdccd88102cfcd6bce9d (patch)
tree7345388bab10435c94c382ddf172cbe1551d4bf7 /tests
parent5e3d29b661e5fb8aa40943a6dec621e3343092f3 (diff)
downloadnextcloud-server-1e9fc332125aa8e730c3cdccd88102cfcd6bce9d.tar.gz
nextcloud-server-1e9fc332125aa8e730c3cdccd88102cfcd6bce9d.zip
[Share2.0] OCS Share API getShare uses new code
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/share20/defaultshareprovidertest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/share20/defaultshareprovidertest.php b/tests/lib/share20/defaultshareprovidertest.php
index e99290f6724..f8b6f98be7c 100644
--- a/tests/lib/share20/defaultshareprovidertest.php
+++ b/tests/lib/share20/defaultshareprovidertest.php
@@ -266,7 +266,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertEquals($id, $share->getId());
$this->assertEquals(\OCP\Share::SHARE_TYPE_LINK, $share->getShareType());
- $this->assertEquals('sharedWith', $share->getSharedWith());
+ $this->assertEquals('sharedWith', $share->getPassword());
$this->assertEquals($sharedBy, $share->getSharedBy());
$this->assertEquals($shareOwner, $share->getShareOwner());
$this->assertEquals($path, $share->getPath());