From d260bd840508d443c7ada501d532bf99bf997a30 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 4 Aug 2014 12:52:13 +0200 Subject: [PATCH] Fix test --- .../java/org/sonar/server/platform/ws/RestartHandlerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-server/src/test/java/org/sonar/server/platform/ws/RestartHandlerTest.java b/server/sonar-server/src/test/java/org/sonar/server/platform/ws/RestartHandlerTest.java index aa1e191c858..5080f639eec 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/platform/ws/RestartHandlerTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/platform/ws/RestartHandlerTest.java @@ -40,7 +40,7 @@ public class RestartHandlerTest { public void restart_if_dev_mode() throws Exception { Platform platform = mock(Platform.class); Settings settings = new Settings(); - settings.setProperty("sonar.dev", true); + settings.setProperty("sonar.web.dev", true); when(system.isOsWindows()).thenReturn(false); RestartHandler restartHandler = new RestartHandler(settings, platform, system); @@ -72,7 +72,7 @@ public class RestartHandlerTest { public void fail_if_windows_java_6() throws Exception { Platform platform = mock(Platform.class); Settings settings = new Settings(); - settings.setProperty("sonar.dev", true); + settings.setProperty("sonar.web.dev", true); when(system.isOsWindows()).thenReturn(true); when(system.isJavaAtLeast17()).thenReturn(false); -- 2.39.5