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
parent 9a5fd4bf96
commit 5af6b3b2f5

View File

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