function tearDown()
 {
     global $new_db_version;
     $this->assertEqual($new_db_version, $this->test_DB->get_var('SELECT set_value FROM T_settings WHERE set_name = "db_version"'));
     // Test that columns are not present anymore:
     $this->assertEqual(array(), array_intersect(array('blog_pingb2evonet', 'blog_pingtechnorati', 'blog_pingweblogs', 'blog_pingblodotgs'), $this->test_DB->get_col('SHOW COLUMNS FROM T_blogs')));
     $this->test_DB->query('SET sql_mode = "' . $this->old_sql_mode . '"');
     parent::tearDown();
 }
 function tearDown()
 {
     global $new_db_version;
     $this->assertEqual($new_db_version, $this->test_DB->get_var('SELECT set_value FROM T_settings WHERE set_name = "db_version"'));
     parent::tearDown();
 }