mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
9bae66760a
commit
cfcf7a5358
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user