From 1d03f4ac1ebd2a14ccf92f77b4b6ec317b8838f7 Mon Sep 17 00:00:00 2001 From: mekya Date: Wed, 22 Nov 2023 09:57:37 +0300 Subject: [PATCH] Fix the failing test case --- .../java/io/antmedia/test/settings/ServerSettingsTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();