Definition at line 5 of file PluginBasicTest.php.
◆ testGetHTTPMethods()
Sabre\CalDAV\Schedule\PluginBasicTest::testGetHTTPMethods |
( |
| ) |
|
Definition at line 31 of file PluginBasicTest.php.
31 {
32
33 $this->assertEquals([], $this->caldavSchedulePlugin->getHTTPMethods('notfound'));
34 $this->assertEquals([], $this->caldavSchedulePlugin->getHTTPMethods('calendars/user1'));
35 $this->assertEquals(['POST'], $this->caldavSchedulePlugin->getHTTPMethods('calendars/user1/outbox'));
36
37 }
◆ testOptions()
Sabre\CalDAV\Schedule\PluginBasicTest::testOptions |
( |
| ) |
|
Definition at line 20 of file PluginBasicTest.php.
20 {
21
22 $plugin = new Plugin();
23 $expected = [
24 'calendar-auto-schedule',
25 'calendar-availability',
26 ];
27 $this->assertEquals($expected, $plugin->getFeatures());
28
29 }
◆ testSimple()
Sabre\CalDAV\Schedule\PluginBasicTest::testSimple |
( |
| ) |
|
Definition at line 10 of file PluginBasicTest.php.
10 {
11
12 $plugin = new Plugin();
13 $this->assertEquals(
14 'caldav-schedule',
15 $plugin->getPluginInfo()['name']
16 );
17
18 }
◆ $setupCalDAV
Sabre\CalDAV\Schedule\PluginBasicTest::$setupCalDAV = true |
◆ $setupCalDAVScheduling
Sabre\CalDAV\Schedule\PluginBasicTest::$setupCalDAVScheduling = true |
The documentation for this class was generated from the following file: