summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php
index 4adc1826921..af8208791e0 100644
--- a/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php
@@ -120,7 +120,7 @@ class SharesPluginTest extends \Test\TestCase {
$this->anything(),
$this->anything(),
$this->equalTo(false),
- $this->equalTo(1)
+ $this->equalTo(-1)
)
->will($this->returnCallback(function($userId, $requestedShareType, $node, $flag, $limit) use ($shareTypes){
if (in_array($requestedShareType, $shareTypes)) {
@@ -203,7 +203,7 @@ class SharesPluginTest extends \Test\TestCase {
$this->anything(),
$this->anything(),
$this->equalTo(false),
- $this->equalTo(1)
+ $this->equalTo(-1)
)
->will($this->returnCallback(function($userId, $requestedShareType, $node, $flag, $limit) use ($shareTypes, $dummyShares){
if ($node->getId() === 111 && in_array($requestedShareType, $shareTypes)) {