aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-20 11:03:22 +0200
committerGitHub <noreply@github.com>2017-04-20 11:03:22 +0200
commit140580f9d8468b8450f31dca997916a07693277f (patch)
tree045ba4c64f3225f45128e6b397687f0375be2b00 /tests
parentb469882595e9dca6d8d32d01c1784162cda6a2d8 (diff)
parentae2db5e60da8037568fae86506ca65182924e90b (diff)
downloadnextcloud-server-140580f9d8468b8450f31dca997916a07693277f.tar.gz
nextcloud-server-140580f9d8468b8450f31dca997916a07693277f.zip
Merge pull request #4398 from nextcloud/fix_accesslistcode
Get proper accesslist for userFolder
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);