diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-02-14 10:47:07 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-02-14 10:47:07 +0100 |
commit | 57122e8d89ac7ecfc888f11454956625502cc342 (patch) | |
tree | 703d70c06159b6b9cb0e665f0e2895ab28fe5249 /apps/dav | |
parent | 36b8558ff6262367919b7c5be04ec809a7f7e8d1 (diff) | |
download | nextcloud-server-57122e8d89ac7ecfc888f11454956625502cc342.tar.gz nextcloud-server-57122e8d89ac7ecfc888f11454956625502cc342.zip |
Test fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/DAV/HookManagerTest.php | 2 |
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 9579ce1c6d3..375bda9f3c2 100644 --- a/apps/dav/tests/unit/DAV/HookManagerTest.php +++ b/apps/dav/tests/unit/DAV/HookManagerTest.php @@ -195,7 +195,7 @@ class HookManagerTest extends TestCase { $card = $this->getMockBuilder(CardDavBackend::class) ->disableOriginalConstructor() ->getMock(); - $card->expects($this->once())->method('getAddressBooksForUser')->willReturn([ + $card->expects($this->once())->method('getUsersOwnAddressBooks')->willReturn([ ['id' => 'personal'] ]); $card->expects($this->once())->method('deleteAddressBook'); |