summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-23 14:08:40 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-30 22:55:03 +0200
commit2f4294e7819c5cb298407b7e6101fd4f076969f9 (patch)
tree675f24310b6b9417faf002b342e9d39af21e02ad /tests/lib
parent00c9974d945f7d50d7d10d7de5fc5a16f4d7421e (diff)
downloadnextcloud-server-2f4294e7819c5cb298407b7e6101fd4f076969f9.tar.gz
nextcloud-server-2f4294e7819c5cb298407b7e6101fd4f076969f9.zip
Add setId and setProviderID to the public interface
Fixes #23337 We only allow the id to be set once!
Diffstat (limited to 'tests/lib')
-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 610de3b6232..8d8ae8d4809 100644
--- a/tests/lib/share20/defaultshareprovidertest.php
+++ b/tests/lib/share20/defaultshareprovidertest.php
@@ -969,7 +969,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$this->assertCount(1, $share);
$share = $share[0];
- $this->assertSame($id, $share->getId());
+ $this->assertSame((string)$id, $share->getId());
$this->assertSame('sharedWith', $share->getSharedWith());
$this->assertSame('shareOwner', $share->getShareOwner());
$this->assertSame('sharedBy', $share->getSharedBy());