/** * remove temp values */ public function tearDown() { $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'categories'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'feeds'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'items'); @unlink(Zend_Registry::get('config')->thumbnails->path . "thumb1.jpg"); @unlink(Zend_Registry::get('config')->thumbnails->path . "thumb2.jpg"); }
/** * remove temp values */ public function tearDown() { $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'categories'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'feeds'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'items'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'messages'); @unlink(Zend_Registry::get('config')->favicons->path . "4711.ico"); @unlink(Zend_Registry::get('config')->favicons->path . md5('http://rsslounge.aditu.de/favicon.ico') . '.ico'); @unlink(Zend_Registry::get('config')->favicons->path . md5('http://blog.aditu.de/favicon.ico') . '.ico'); }
/** * remove temp values */ public function tearDown() { $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'categories'); $this->db->exec("DELETE FROM " . Zend_Registry::get('config')->resources->db->prefix . 'feeds'); }