From ba990054c6e66f7be7c0da6d716a0272bf4c928d Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 30 Jan 2015 23:06:06 +0100 Subject: [PATCH] Attempt to fix test failing due to StaticLog using LogManager. TODO: How/where !? --- .../test/java/fr/neatmonster/nocheatplus/test/TestConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NCPPlugin/src/test/java/fr/neatmonster/nocheatplus/test/TestConfig.java b/NCPPlugin/src/test/java/fr/neatmonster/nocheatplus/test/TestConfig.java index 7311fa4a..3294b6a7 100644 --- a/NCPPlugin/src/test/java/fr/neatmonster/nocheatplus/test/TestConfig.java +++ b/NCPPlugin/src/test/java/fr/neatmonster/nocheatplus/test/TestConfig.java @@ -9,6 +9,7 @@ import fr.neatmonster.nocheatplus.config.ConfPaths; import fr.neatmonster.nocheatplus.config.ConfigFile; import fr.neatmonster.nocheatplus.config.PathUtils; import fr.neatmonster.nocheatplus.config.RawConfigFile; +import fr.neatmonster.nocheatplus.logging.StaticLog; public class TestConfig { @@ -44,7 +45,7 @@ public class TestConfig { @Test public void testMovePaths() { - // TODO: Set StaticLog to not log. + StaticLog.setUseLogManager(false); ConfigFile config = new ConfigFile(); // Simple moved boolean.