func_test_db)) { $this->tdb = $UNITTEST->func_test_db; } else { $this->tdb = $DB; } } function tearDown() { $dbman = $this->tdb->get_manager(); foreach ($this->tables as $table) { if ($dbman->table_exists($table)) { $dbman->drop_table($table); } } $this->tables = array(); } } ?>