/** * testGetVacationTemplates * * @return array */ public function testGetVacationTemplates() { $this->markTestSkipped('0010194: fix felamimail webdav tests'); $this->_addVacationTemplateFile(); $result = $this->_json->getVacationMessageTemplates(); $this->assertTrue($result['totalcount'] > 0, 'no templates found'); $found = FALSE; foreach ($result['results'] as $template) { if ($template['name'] === $this->_sieveVacationTemplateFile) { $found = TRUE; break; } } $this->assertTrue($found, 'wrong templates: ' . print_r($result['results'], TRUE)); return $template; }