From a0fdfd272214207000829a9626fd8f698e0fc676 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 7 Oct 2024 01:32:05 +0200 Subject: [PATCH] Fix TestBase engine initialization --- .../main/java/de/staropensource/engine/testing/TestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/src/main/java/de/staropensource/engine/testing/TestBase.java b/testing/src/main/java/de/staropensource/engine/testing/TestBase.java index dcf1d1d4a..387749dfd 100644 --- a/testing/src/main/java/de/staropensource/engine/testing/TestBase.java +++ b/testing/src/main/java/de/staropensource/engine/testing/TestBase.java @@ -234,7 +234,7 @@ public class TestBase { if (Engine.getInstance() == null) { logger.diag("Initializing engine"); System.getProperties().setProperty("sosengine.base.loggerLevel", "crash"); - new Engine(); + Engine.initialize(); EngineConfiguration.getInstance().loadDefaultConfiguration(); EngineInternals.getInstance().setShutdownHandler(exitCode -> {}); EngineInternals.getInstance().restrictAccess(InternalAccessArea.SHUTDOWN_HANDLER_UPDATE);