summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-01 16:08:26 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-01 16:08:26 +0200
commit75c172a062579a5f28551eeb37d9145c451f1867 (patch)
treeb4e208538a7f835e10c0f71b59663ff5eb575868
parent777dbec369937aa4ac87720bfeeb413a2a8801db (diff)
downloadnextcloud-server-75c172a062579a5f28551eeb37d9145c451f1867.tar.gz
nextcloud-server-75c172a062579a5f28551eeb37d9145c451f1867.zip
Fix Share Manager tests with phpunit 5.2+
-rw-r--r--tests/lib/share20/managertest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/share20/managertest.php b/tests/lib/share20/managertest.php
index ece4ae23847..8f3417d53fd 100644
--- a/tests/lib/share20/managertest.php
+++ b/tests/lib/share20/managertest.php
@@ -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);