diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-11 11:55:09 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-11 13:29:23 +0100 |
commit | 4533cb9c59501e9871513c10a0baceee8785d76c (patch) | |
tree | c49a7395d825511069e1a8643cc1083e5613c3e0 /tests | |
parent | 73e37377771ecd24ca44bc3176e491977df0da10 (diff) | |
download | nextcloud-server-4533cb9c59501e9871513c10a0baceee8785d76c.tar.gz nextcloud-server-4533cb9c59501e9871513c10a0baceee8785d76c.zip |
Add parent for invisible link shares
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/share20/managertest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/share20/managertest.php b/tests/lib/share20/managertest.php index 73a1b0a6530..1230c191b6b 100644 --- a/tests/lib/share20/managertest.php +++ b/tests/lib/share20/managertest.php @@ -1549,6 +1549,7 @@ class ManagerTest extends \Test\TestCase { 'pathCreateChecks', 'validateExpirationDate', 'verifyPassword', + 'setLinkParent', ]) ->getMock(); @@ -1589,6 +1590,9 @@ class ManagerTest extends \Test\TestCase { $manager->expects($this->once()) ->method('verifyPassword') ->with('password'); + $manager->expects($this->once()) + ->method('setLinkParent') + ->with($share); $this->hasher->expects($this->once()) ->method('hash') |