diff options
author | Joas Schilling <coding@schilljs.com> | 2020-02-18 11:02:11 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-02-22 20:26:27 +0000 |
commit | 8d5c51730b65e2e91529faf809561774cc41cf11 (patch) | |
tree | eae3c023054f6e85fd04b754d5e4dc31f23278fe /tests | |
parent | c383452b227b6c6b140eb8cab81d10a52cb36987 (diff) | |
download | nextcloud-server-8d5c51730b65e2e91529faf809561774cc41cf11.tar.gz nextcloud-server-8d5c51730b65e2e91529faf809561774cc41cf11.zip |
Strip of users home path from share api message
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
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); |