diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-05-04 10:51:39 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-05-04 10:51:39 +0200 |
commit | 5c7acf4807aa427cf1391e0a5d044b453c38e619 (patch) | |
tree | 3fe49d4c3f75b0e2c9605327a3951f1da28e28b6 /vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php | |
parent | a92b9b7adb2be489106138b6269a5f7fe8eea5aa (diff) | |
download | volse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.tar.gz volse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.tar.bz2 volse-hubzilla-5c7acf4807aa427cf1391e0a5d044b453c38e619.zip |
update sabredav to version 3.2.2
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php')
-rw-r--r-- | vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php b/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php index 840b898e8..8638dc74a 100644 --- a/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php +++ b/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/Mock.php @@ -20,6 +20,12 @@ class Mock extends AbstractBackend { 'principaluri' => 'principals/user1', '{DAV:}displayname' => 'd-name', ], + [ + 'id' => 'bar', + 'uri' => 'book3', + 'principaluri' => 'principals/user1', + '{DAV:}displayname' => 'd-name', + ], ]; $card2 = fopen('php://memory', 'r+'); @@ -30,6 +36,9 @@ class Mock extends AbstractBackend { 'card1' => "BEGIN:VCARD\nVERSION:3.0\nUID:12345\nEND:VCARD", 'card2' => $card2, ], + 'bar' => [ + 'card3' => "BEGIN:VCARD\nVERSION:3.0\nUID:12345\nFN:Test-Card\nEMAIL;TYPE=home:bar@example.org\nEND:VCARD", + ], ]; } @@ -58,7 +67,7 @@ class Mock extends AbstractBackend { * Calling the handle method is like telling the PropPatch object "I * promise I can handle updating this property". * - * Read the PropPatch documenation for more info and examples. + * Read the PropPatch documentation for more info and examples. * * @param string $addressBookId * @param \Sabre\DAV\PropPatch $propPatch @@ -117,7 +126,7 @@ class Mock extends AbstractBackend { * calculating them. If they are specified, you can also ommit carddata. * This may speed up certain requests, especially with large cards. * - * @param mixed $addressbookId + * @param mixed $addressBookId * @return array */ function getCards($addressBookId) { |