Ejemplo n.º 1
0
 function setup()
 {
     $this->backend = TestUtil::getBackend();
     $calendars = $this->backend->getCalendarsForUser('principals/user1');
     $this->assertEquals(2, count($calendars));
     $this->calendar = new Calendar($this->backend, $calendars[0]);
 }