/**
  * @expectedException Sabre_DAV_Exception_InvalidResourceType
  * @depends testSimple
  */
 function testCreateExtendedCollectionBadResourceType()
 {
     $this->usercalendars->createExtendedCollection('newcalendar', array('{DAV:}collection', '{DAV:}blabla'), array());
 }
Ejemplo n.º 2
0
 /**
  * @expectedException Sabre_DAV_Exception_InvalidResourceType
  * @depends testSimple
  */
 function testCreateExtendedCollectionNotACalendar()
 {
     $this->usercalendars->createExtendedCollection('newcalendar', array('{DAV:}collection'), array());
 }