ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\CalDAV\Schedule\OutboxTest Class Reference
+ Inheritance diagram for Sabre\CalDAV\Schedule\OutboxTest:
+ Collaboration diagram for Sabre\CalDAV\Schedule\OutboxTest:

Public Member Functions

 testSetup ()
 

Detailed Description

Definition at line 8 of file OutboxTest.php.

Member Function Documentation

◆ testSetup()

Sabre\CalDAV\Schedule\OutboxTest::testSetup ( )

Definition at line 10 of file OutboxTest.php.

References Sabre\CalDAV\Plugin\NS_CALDAV.

10  {
11 
12  $outbox = new Outbox('principals/user1');
13  $this->assertEquals('outbox', $outbox->getName());
14  $this->assertEquals([], $outbox->getChildren());
15  $this->assertEquals('principals/user1', $outbox->getOwner());
16  $this->assertEquals(null, $outbox->getGroup());
17 
18  $this->assertEquals([
19  [
20  'privilege' => '{' . CalDAV\Plugin::NS_CALDAV . '}schedule-send',
21  'principal' => 'principals/user1',
22  'protected' => true,
23  ],
24  [
25  'privilege' => '{DAV:}read',
26  'principal' => 'principals/user1',
27  'protected' => true,
28  ],
29  [
30  'privilege' => '{' . CalDAV\Plugin::NS_CALDAV . '}schedule-send',
31  'principal' => 'principals/user1/calendar-proxy-write',
32  'protected' => true,
33  ],
34  [
35  'privilege' => '{DAV:}read',
36  'principal' => 'principals/user1/calendar-proxy-read',
37  'protected' => true,
38  ],
39  [
40  'privilege' => '{DAV:}read',
41  'principal' => 'principals/user1/calendar-proxy-write',
42  'protected' => true,
43  ],
44  ], $outbox->getACL());
45 
46  }
const NS_CALDAV
This is the official CalDAV namespace.
Definition: Plugin.php:33

The documentation for this class was generated from the following file: