diff --git a/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggerFactoryUnitTest.java b/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggerFactoryUnitTest.java index d027cddd..4c5836b5 100644 --- a/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggerFactoryUnitTest.java +++ b/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggerFactoryUnitTest.java @@ -31,9 +31,13 @@ public class LoggerFactoryUnitTest { */ @Test(groups = TestCategories.UTILITIES) public void testGetLogger() { + HashMap newValueMap = new HashMap<>(); + newValueMap.put("LogLevel", "VERBOSE"); + Config.addGeneralTestSettingValues(newValueMap, true); + Assert.assertNotNull(LoggerFactory.getLogger("Test Name")); - HashMap newValueMap = new HashMap<>(); + newValueMap = new HashMap<>(); newValueMap.put("Log", "NO"); newValueMap.put("LogType", "TXT"); Config.addGeneralTestSettingValues(newValueMap, true); diff --git a/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggingConfigUnitTest.java b/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggingConfigUnitTest.java index 2e8ec7b0..d4b94861 100644 --- a/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggingConfigUnitTest.java +++ b/openmaqs-utilities/src/test/java/io/github/openmaqs/utilities/logger/LoggingConfigUnitTest.java @@ -187,7 +187,7 @@ public void getLoggingLevelInvalidArgumentTest() { LoggingConfig.getLoggingLevelSetting(); newValueMap.clear(); - newValueMap.put("Log", "OnFail"); + newValueMap.put("LogLevel", "OnFail"); Config.addGeneralTestSettingValues(newValueMap, true); }