diff --git a/src/test/java/io/antmedia/test/settings/ServerSettingsTest.java b/src/test/java/io/antmedia/test/settings/ServerSettingsTest.java index 0c2c695aa..af8ce003a 100644 --- a/src/test/java/io/antmedia/test/settings/ServerSettingsTest.java +++ b/src/test/java/io/antmedia/test/settings/ServerSettingsTest.java @@ -90,7 +90,8 @@ public void testSetAppContext() assertEquals(ServerSettings.getLocalHostAddress(), settings.getHostAddress()); - Mockito.verify(settings).setNativeLogLevel(settings.getNativeLogLevel()); + String nativeLogLevel = settings.getNativeLogLevel(); + Mockito.verify(settings).setNativeLogLevel(nativeLogLevel); Mockito.doReturn("").when(settings).getHostAddressFromEnvironment();