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