From 2f4294e7819c5cb298407b7e6101fd4f076969f9 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 23 Mar 2016 14:08:40 +0100 Subject: Add setId and setProviderID to the public interface Fixes #23337 We only allow the id to be set once! --- tests/lib/share20/defaultshareprovidertest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib') 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()); -- cgit v1.2.3