/** * @expectedException Sabre\DAV\Exception\InvalidResourceType * @depends testSimple */ function testCreateExtendedCollectionNotACalendar() { $mkCol = new MkCol(['{DAV:}collection'], []); $this->usercalendars->createExtendedCollection('newcalendar', $mkCol); }
/** * @expectedException Sabre\DAV\Exception\InvalidResourceType * @depends testSimple */ function testCreateExtendedCollectionNotACalendar() { $this->usercalendars->createExtendedCollection('newcalendar', array('{DAV:}collection'), array()); }