/** * Drop the database and kill the connection */ public function tearDown() { if (isset(ThinkUpTestDatabaseHelper::$PDO)) { $this->testdb_helper->drop($this->test_database_name); } parent::tearDown(); }
/** * Drop the database and kill the connection */ public function tearDown() { if (isset(ThinkUpTestDatabaseHelper::$PDO)) { ThinkUpTestDatabaseHelper::$PDO->exec('SET SESSION sql_mode = "";'); $this->testdb_helper->drop($this->test_database_name); } parent::tearDown(); }
public function tearDown() { parent::tearDown(); // delete test email file if it exists $test_email = FileDataManager::getDataPath(Mailer::EMAIL); if (file_exists($test_email)) { unlink($test_email); } }
public function tearDown() { parent::tearDown(); // delete test email file if it exists $test_email = THINKUP_WEBAPP_PATH . '_lib/view/compiled_view' . Mailer::EMAIL; if (file_exists($test_email)) { unlink($test_email); } }
/** * Drop the database and kill the connection */ public function tearDown() { $this->testdb_helper->drop($this->db); $this->db->closeConnection($this->conn); parent::tearDown(); // delete test email file if it exists $test_email = THINKUP_WEBAPP_PATH . '_lib/view/compiled_view' . self::TEST_EMAIL; if(file_exists($test_email)) { unlink($test_email); } }
public function tearDown() { parent::tearDown(); $config = Config::getInstance(); $config->setValue("mandrill_api_key", ""); // delete test email file if it exists $test_email = FileDataManager::getDataPath(Mailer::EMAIL); if (file_exists($test_email)) { unlink($test_email); } }
/** * Drop the database and kill the connection */ public function tearDown() { if (isset(ThinkUpTestDatabaseHelper::$PDO)) { $this->testdb_helper->drop($this->test_database_name); } parent::tearDown(); // delete test email file if it exists $test_email = THINKUP_WEBAPP_PATH . '_lib/view/compiled_view' . self::TEST_EMAIL; if(file_exists($test_email)) { unlink($test_email); } }
public function tearDown() { parent::tearDown(); }
/** * Drop the database and kill the connection */ public function tearDown() { $this->testdb_helper->drop($this->db); $this->db->closeConnection($this->conn); parent::tearDown(); }