function tearDown() { parent::tearDown(); $this->logger->close(); }
function tearDown() { parent::tearDown(); }
/** * Add test post to database */ function setUp() { parent::setUp(); $q = "INSERT INTO tt_posts (post_id, author_user_id, author_username, author_fullname, author_avatar, post_text, source, pub_date, mention_count_cache, retweet_count_cache) VALUES (1001, 13, 'ev', 'Ev Williams', 'avatar.jpg', 'This is a test post', 'web', '2006-01-01 00:05:00', " . rand(0, 4) . ", 5);"; $this->db->exec($q); }
function tearDown() { parent::tearDown(); //make sure our db_type is set to the default... Config::getInstance()->setValue('db_type', 'mysql'); }
/** * Destructs the database, so it can be reconstructed for next test */ function tearDown() { parent::tearDown(); $this->DAO = null; }
public function tearDown() { parent::tearDown(); $this->logger->close(); $this->DAO = null; }
function tearDown() { parent::tearDown(); $_REQUEST["page"] = null; $_REQUEST["v"] = null; }