diff --git a/test/integration/ServerTests/AppiumLocalServerLaunchingTest.cs b/test/integration/ServerTests/AppiumLocalServerLaunchingTest.cs index 65234f5f..14bb79a3 100644 --- a/test/integration/ServerTests/AppiumLocalServerLaunchingTest.cs +++ b/test/integration/ServerTests/AppiumLocalServerLaunchingTest.cs @@ -24,8 +24,6 @@ public class AppiumLocalServerLaunchingTest [OneTimeSetUp] public void BeforeAll() { - byte[] bytes = null; - var isWindows = Platform.CurrentPlatform.IsPlatformType(PlatformType.Windows); var isMacOs = Platform.CurrentPlatform.IsPlatformType(PlatformType.Mac); var isLinux = Platform.CurrentPlatform.IsPlatformType(PlatformType.Linux); @@ -43,6 +41,7 @@ public void BeforeAll() } Console.WriteLine(_testIp); + byte[] bytes; if (isWindows) { bytes = Resources.PathToWindowsNode;