protected function tearDown() { $this->_clean(); $this->db->closeConnection(); $this->db = null; parent::tearDown(); }
public function tearDown() { unlink("tests/tmp/test.ini"); if (file_exists("tests/tmp/test2.ini")) { unlink("tests/tmp/test2.ini"); } parent::tearDown(); }
public function setUp() { parent::setUp(); file_put_contents(USVN_CONFIG_FILE, "\n\t\t[general]\ntranslation.locale = \"en_US\"\nversion = \"0.84\"\nupdate.checkforupdate = \"1\";\n\t\t"); }
protected function setUp() { parent::setUp(); $config = Zend_Registry::get('config'); $config->database = array("adapterName" => "mysql"); }
protected function tearDown() { putenv('HOME=' . $this->_saveHOME); parent::tearDown(); }