From e7bf11edfdc7e115b01bea826db987acad0dbf0f Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Tue, 15 Sep 2026 19:27:23 +0800 Subject: [PATCH] test: reset CLI state before each ConsoleTest so random order keeps the leading newline --- tests/system/CLI/ConsoleTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system/CLI/ConsoleTest.php b/tests/system/CLI/ConsoleTest.php index 4eea3a7f3183..9040a7db70b8 100644 --- a/tests/system/CLI/ConsoleTest.php +++ b/tests/system/CLI/ConsoleTest.php @@ -40,6 +40,7 @@ protected function setUp(): void parent::setUp(); Services::injectMock('superglobals', new Superglobals()); + CLI::reset(); CLI::init(); (new DotEnv(ROOTPATH))->load();