From 8d5c51730b65e2e91529faf809561774cc41cf11 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 18 Feb 2020 11:02:11 +0100 Subject: Strip of users home path from share api message Signed-off-by: Joas Schilling --- tests/lib/Share20/ManagerTest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index 02f779abf51..314038fe13b 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -708,6 +708,9 @@ class ManagerTest extends \Test\TestCase { $userFolder = $this->createMock(Folder::class); $userFolder->method('getPath')->willReturn('myrootfolder'); + $userFolder->expects($this->any()) + ->method('getRelativePath') + ->willReturnArgument(0); $this->rootFolder->method('getUserFolder')->willReturn($userFolder); -- cgit v1.2.3