diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-11 21:34:28 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-11 21:34:28 +0200 |
commit | a85392615d74f08a8ec62eca5d9ccc94294d89ec (patch) | |
tree | 60dc12803717f39d1e9afd2f965f881449d76945 /apps | |
parent | eb564e82de449128007ccb9748d698ab65a45591 (diff) | |
download | nextcloud-server-a85392615d74f08a8ec62eca5d9ccc94294d89ec.tar.gz nextcloud-server-a85392615d74f08a8ec62eca5d9ccc94294d89ec.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/SharesPluginTest.php | 4 |
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)) { |