aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/DAV
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-28 15:32:03 +0200
committerThomas Citharel <tcit@tcit.fr>2016-09-28 15:32:03 +0200
commit6c8bcb38f1124d0be7cee770ab67730d90dbd783 (patch)
tree0dc9a84a38b5e0b3310b379f91586e746e477a72 /apps/dav/tests/unit/DAV
parent479c427f2a3328ccf34b5ef57598eb8fc305f995 (diff)
downloadnextcloud-server-6c8bcb38f1124d0be7cee770ab67730d90dbd783.tar.gz
nextcloud-server-6c8bcb38f1124d0be7cee770ab67730d90dbd783.zip
Rename deleteAllSharesForUser() to deleteAllSharesByUser()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/tests/unit/DAV')
-rw-r--r--apps/dav/tests/unit/DAV/HookManagerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/DAV/HookManagerTest.php b/apps/dav/tests/unit/DAV/HookManagerTest.php
index e9351ebc84a..5b7d4700a5f 100644
--- a/apps/dav/tests/unit/DAV/HookManagerTest.php
+++ b/apps/dav/tests/unit/DAV/HookManagerTest.php
@@ -187,7 +187,7 @@ class HookManagerTest extends TestCase {
['id' => 'personal']
]);
$cal->expects($this->once())->method('deleteCalendar');
- $cal->expects($this->once())->method('deleteAllSharesForUser');
+ $cal->expects($this->once())->method('deleteAllSharesByUser');
/** @var CardDavBackend | \PHPUnit_Framework_MockObject_MockObject $card */
$card = $this->getMockBuilder(CardDavBackend::class)