Permalink
Browse files

More feedback on which temp db gets created

  • Loading branch information...
1 parent 6c9be90 commit b170e621c965b3718f8a532d3808c0c0e5513e33 @chillu chillu committed Dec 19, 2012
@@ -162,16 +162,16 @@ protected function bootstrap($frameworkPath, $frameworkHost)
protected function initializeTempDb()
{
- file_put_contents('php://stderr', 'Creating temp DB' . PHP_EOL);
$dbname = \SapphireTest::create_temp_db();
+ file_put_contents('php://stderr', "Creating temp DB $dbname" . PHP_EOL);
\DB::set_alternative_database_name($dbname);
return $dbname;
}
protected function deleteTempDb()
{
- file_put_contents('php://stderr', 'Killing temp DB' . PHP_EOL);
+ file_put_contents('php://stderr', "Killing temp DB" . PHP_EOL);
\SapphireTest::kill_temp_db();
\DB::set_alternative_database_name(null);
}

0 comments on commit b170e62

Please sign in to comment.