MINOR Fixed output spelling mistake and formatting in SapphireTest::delete_all_temp_dbs()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113450 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-11-04 22:04:02 +00:00 committed by Sam Minnee
parent 9bae66760a
commit cfcf7a5358

View File

@ -672,7 +672,11 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
foreach(DB::getConn()->allDatabaseNames() as $dbName) {
if(preg_match('/^tmpdb[0-9]+$/', $dbName)) {
DB::getConn()->dropDatabaseByName($dbName);
echo "<li>Dropped databse \"$dbName\"\n";
if(Director::is_cli()) {
echo "Dropped database \"$dbName\"" . PHP_EOL;
} else {
echo "<li>Dropped database \"$dbName\"</li>" . PHP_EOL;
}
flush();
}
}