Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-28 10:37:19 +0300
committerGitHub <noreply@github.com>2019-11-28 10:37:19 +0300
commit62dc32019146bdc186e110bde23dd210633acbe7 (patch)
treea4947d148758d953fa5d3777333e8190ab84fb3b /tests
parent669302e570024c83140ff5c4f4b1489c5a1c66ed (diff)
parent078f4efb20f269394e5f60fe327ba36c0279d77e (diff)
Merge pull request #17725 from nextcloud/enh/share_exp_internal
Allow internal shares to have a default expiration date
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Share20/ManagerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index c4cc335dd5e..2320e2afa08 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -1743,7 +1743,8 @@ class ManagerTest extends \Test\TestCase {
->with($path);
$manager->expects($this->once())
->method('validateExpirationDate')
- ->with($share);
+ ->with($share)
+ ->willReturn($share);
$manager->expects($this->once())
->method('verifyPassword')
->with('password');