forked from friendica/deprecated-addons
moved deprecated communityhome, dav and yourls to the deprecated-addons repository
This commit is contained in:
parent
24444adef3
commit
31520f804d
675 changed files with 195144 additions and 0 deletions
18
dav/SabreDAV/tests/Sabre/CalDAV/Principal/CollectionTest.php
Normal file
18
dav/SabreDAV/tests/Sabre/CalDAV/Principal/CollectionTest.php
Normal 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);
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue