summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 14:51:14 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 14:51:14 +0100
commit078f4efb20f269394e5f60fe327ba36c0279d77e (patch)
tree78914467575b8071847e4beb311262857e953e9e /tests
parentd441864cd0505ea213ba5eebef3acc0081704852 (diff)
downloadnextcloud-server-078f4efb20f269394e5f60fe327ba36c0279d77e.tar.gz
nextcloud-server-078f4efb20f269394e5f60fe327ba36c0279d77e.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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 3e34a64acf3..9b8798b2a56 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');