diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index 97d61f856..446050a26 100644 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -232,11 +232,11 @@ class SapphireTest extends PHPUnit_Framework_TestCase { if($dbName && DB::getConn()->databaseExists($dbName)) { // echo "Deleted temp database " . $dbConn->currentDatabase() . "\n"; $dbConn->dropDatabase(); + + // Todo: it would be good to remove this inappropriate coupling, somehow. + // The versioned class keeps a static cache of information about temporary tables. + Versioned::on_db_reset(); } - - // Todo: it would be good to remove this inappropriate coupling, somehow. - // The versioned class keeps a static cache of information about temporary tables. - Versioned::on_db_reset(); } }