From c1e8ecb19d0213813346f32f362716c7f9766fa3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 17 Jun 2022 15:39:02 +1200 Subject: [PATCH] Output to stdErr rather than echo --- Civi/Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Test.php b/Civi/Test.php index c19a400c04..53c3df5ed1 100644 --- a/Civi/Test.php +++ b/Civi/Test.php @@ -117,7 +117,7 @@ class Test { throw new \RuntimeException("\\Civi\\Test::headless() requires CIVICRM_UF=UnitTests"); } $dbName = \Civi\Test::dsn('database'); - echo "Installing {$dbName} schema\n"; + fprintf(STDERR, "Installing {$dbName} schema\n"); \Civi\Test::schema()->dropAll(); }, 'headless-drop') ->coreSchema() -- 2.25.1