/** * get vacation message with template * * @return array */ protected function _getVacationMessageWithTemplate() { $template = $this->testGetVacationTemplates(); $sclever = Tinebase_User::getInstance()->getFullUserByLoginName('sclever'); $result = $this->_json->getVacationMessage(array('start_date' => '2012-04-18', 'end_date' => '2012-04-20', 'contact_ids' => array(Tinebase_User::getInstance()->getFullUserByLoginName('pwulf')->contact_id, $sclever->contact_id), 'template_id' => $template['id'], 'signature' => $this->_account->signature)); return $result; }