Fix Share Manager tests with phpunit 5.2+

This commit is contained in:
Joas Schilling 2016-07-01 16:08:26 +02:00
parent 777dbec369
commit 75c172a062
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ class ManagerTest extends \Test\TestCase {
$share->method('getShareType')->willReturn($type);
$share->method('getSharedWith')->willReturn($sharedWith);
$share->method('getSharedBy')->willReturn($sharedBy);
$share->method('getSharedOwner')->willReturn($shareOwner);
$share->method('getShareOwner')->willReturn($shareOwner);
$share->method('getNode')->willReturn($path);
$share->method('getPermissions')->willReturn($permissions);
$share->method('getExpirationDate')->willReturn($expireDate);