From cfcf7a5358de3decb70d49a81fea9d7ab438192d Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 4 Nov 2010 22:04:02 +0000 Subject: [PATCH] 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 --- dev/SapphireTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index 2e400bcf5..6820d3393 100755 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -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 "
  • Dropped databse \"$dbName\"\n"; + if(Director::is_cli()) { + echo "Dropped database \"$dbName\"" . PHP_EOL; + } else { + echo "
  • Dropped database \"$dbName\"
  • " . PHP_EOL; + } flush(); } }