mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
fix(test): fix redundant terminal output during phpunit (#1194)
This commit is contained in:
@@ -21,6 +21,8 @@ class GlobalsFunctionsTest extends TestCase
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$GLOBALS['spc_log_filters'] = null;
|
||||
// Restore logger level to avoid polluting other tests with DEBUG noise
|
||||
logger()->setLevel(LogLevel::ERROR);
|
||||
}
|
||||
|
||||
public function testAddLogFilterDeduplicates(): void
|
||||
|
||||
Reference in New Issue
Block a user