16 $this->assertEquals(
'inbox', $inbox->getName());
17 $this->assertEquals([], $inbox->getChildren());
18 $this->assertEquals(
'principals/user1', $inbox->getOwner());
19 $this->assertEquals(null, $inbox->getGroup());
23 'privilege' =>
'{DAV:}read',
24 'principal' =>
'{DAV:}authenticated',
28 'privilege' =>
'{DAV:}write-properties',
29 'principal' =>
'principals/user1',
33 'privilege' =>
'{DAV:}unbind',
34 'principal' =>
'principals/user1',
38 'privilege' =>
'{DAV:}unbind',
39 'principal' =>
'principals/user1/calendar-proxy-write',
43 'privilege' =>
'{urn:ietf:params:xml:ns:caldav}schedule-deliver',
44 'principal' =>
'{DAV:}authenticated',
66 count($inbox->getChildren())
68 $backend->createSchedulingObject(
'principals/user1',
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
71 count($inbox->getChildren())
73 $this->assertInstanceOf(
'Sabre\CalDAV\Schedule\SchedulingObject', $inbox->getChildren()[0]);
76 $inbox->getChildren()[0]->getName()
94 count($inbox->getChildren())
96 $inbox->createFile(
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
99 count($inbox->getChildren())
101 $this->assertInstanceOf(
'Sabre\CalDAV\Schedule\SchedulingObject', $inbox->getChildren()[0]);
104 $inbox->getChildren()[0]->getName()
122 count($inbox->getChildren())
124 $backend->createSchedulingObject(
'principals/user1',
'schedule1.ics',
"BEGIN:VCALENDAR\r\nEND:VCALENDAR");
127 $inbox->calendarQuery([
128 'name' =>
'VCALENDAR',
129 'comp-filters' => [],
130 'prop-filters' => [],
131 'is-not-defined' =>
false
The CalDAV scheduling inbox.
testCreateFile()
testGetChildren
testCalendarQuery()
testSetup
testGetChildren()
testSetup