tests: fix min severity doesn't get updated

If the logger is started with `Activate()` before `SetActive()`, it won't
log anything, as the logger updates the "min severity" value of loggers
only when starting them, and if they're not active at that point, they
will just be ignored, so the min severity remains at info.
This commit is contained in:
Yonas Habteab 2025-09-25 09:34:28 +02:00 committed by Johannes Schmidt
parent 303b46bf14
commit 161f16641f

View file

@ -95,8 +95,8 @@ struct TestLoggerFixture
TestLoggerFixture()
{
testLogger->SetSeverity(testLogger->SeverityToString(LogDebug));
testLogger->Activate(true);
testLogger->SetActive(true);
testLogger->Activate(true);
}
~TestLoggerFixture()