summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-25 13:35:53 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-27 18:33:56 +0200
commitda1543eef7d0e00a928b582858fc0f906c671b36 (patch)
tree458f63f4a00c9834ea3d08e757617fe07c5f6d3e /apps/dav/tests
parent5215833fe4b661c46dfed88eb29754011dbb899f (diff)
downloadnextcloud-server-da1543eef7d0e00a928b582858fc0f906c671b36.tar.gz
nextcloud-server-da1543eef7d0e00a928b582858fc0f906c671b36.zip
fix deletion of calendars
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/dav/tests')
-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 cde24214dd1..4a60542a01d 100644
--- a/apps/dav/tests/unit/DAV/HookManagerTest.php
+++ b/apps/dav/tests/unit/DAV/HookManagerTest.php
@@ -168,7 +168,7 @@ class HookManagerTest extends TestCase {
$cal = $this->getMockBuilder(CalDavBackend::class)
->disableOriginalConstructor()
->getMock();
- $cal->expects($this->once())->method('getCalendarsForUser')->willReturn([
+ $cal->expects($this->once())->method('getUsersOwnCalendars')->willReturn([
['id' => 'personal']
]);
$cal->expects($this->once())->method('deleteCalendar');