]> source.dussan.org Git - sonarqube.git/commitdiff
Fix test
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 4 Aug 2014 10:52:13 +0000 (12:52 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 4 Aug 2014 10:52:13 +0000 (12:52 +0200)
server/sonar-server/src/test/java/org/sonar/server/platform/ws/RestartHandlerTest.java

index aa1e191c858b7ff031022f965207a299480f0e73..5080f639eec1d7ece58660f58b5febcbc883b996 100644 (file)
@@ -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);