diff options
author | Joas Schilling <coding@schilljs.com> | 2020-02-18 11:02:11 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-02-20 14:56:58 +0100 |
commit | e97d643969ca04dada2877d67efd1f0ebd019916 (patch) | |
tree | 5d5940f33db8988982d607fac7e215fabea0bd91 /tests | |
parent | a1fc233fcb30d9181415ad24a4141f0285b6899a (diff) | |
download | nextcloud-server-e97d643969ca04dada2877d67efd1f0ebd019916.tar.gz nextcloud-server-e97d643969ca04dada2877d67efd1f0ebd019916.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); |