summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-04-19 15:11:54 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-20 10:28:32 +0200
commitae2db5e60da8037568fae86506ca65182924e90b (patch)
tree27c0f0828aad35808bcebd1e7e9c3ccbabfcd0b5 /tests
parenta3569a14524f6f669bc9dc868658794ded12776a (diff)
downloadnextcloud-server-ae2db5e60da8037568fae86506ca65182924e90b.tar.gz
nextcloud-server-ae2db5e60da8037568fae86506ca65182924e90b.zip
Get proper accesslist for userFolder
If the accesslist is requested for a users root folder we should properly construct the path Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Share20/ManagerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index 42308a9d6a6..7de73421d3e 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -2767,8 +2767,7 @@ class ManagerTest extends \Test\TestCase {
$node->expects($this->once())
->method('getOwner')
->willReturn($owner);
- $node->expects($this->once())
- ->method('getId')
+ $node->method('getId')
->willReturn(42);
$userFolder = $this->createMock(Folder::class);