diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-11-28 08:37:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-28 08:37:19 +0100 |
commit | 62dc32019146bdc186e110bde23dd210633acbe7 (patch) | |
tree | a4947d148758d953fa5d3777333e8190ab84fb3b /tests | |
parent | 669302e570024c83140ff5c4f4b1489c5a1c66ed (diff) | |
parent | 078f4efb20f269394e5f60fe327ba36c0279d77e (diff) | |
download | nextcloud-server-62dc32019146bdc186e110bde23dd210633acbe7.tar.gz nextcloud-server-62dc32019146bdc186e110bde23dd210633acbe7.zip |
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.php | 3 |
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'); |