/**
  * 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();
 }
 /**
  * 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()
 {
     $this->testdb_helper->drop($this->test_database_name);
     parent::tearDown();
 }