Page MenuHomePhabricator

CollectionTest.php
No OneTemporary

CollectionTest.php

<?php
namespace Sabre\CalDAV\Principal;
use Sabre\DAVACL;
class CollectionTest extends \PHPUnit_Framework_TestCase {
function testGetChildForPrincipal() {
$back = new DAVACL\PrincipalBackend\Mock();
$col = new Collection($back);
$r = $col->getChildForPrincipal(array(
'uri' => 'principals/admin',
));
$this->assertInstanceOf('Sabre\\CalDAV\\Principal\\User', $r);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Dec 24, 10:42 AM (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
913838
Default Alt Text
CollectionTest.php (434 B)

Event Timeline