Initial Release of the calendar plugin

This commit is contained in:
Tobias Hößl 2012-06-03 18:19:28 +00:00
parent 45cc9885fc
commit 7115197a33
561 changed files with 189494 additions and 0 deletions

View file

@ -0,0 +1,18 @@
<?php
require_once 'Sabre/DAVACL/MockPrincipalBackend.php';
class Sabre_CalDAV_Principal_CollectionTest extends PHPUnit_Framework_TestCase {
function testGetChildForPrincipal() {
$back = new Sabre_DAVACL_MockPrincipalBackend();
$col = new Sabre_CalDAV_Principal_Collection($back);
$r = $col->getChildForPrincipal(array(
'uri' => 'principals/admin',
));
$this->assertInstanceOf('Sabre_CalDAV_Principal_User', $r);
}
}