]> source.dussan.org Git - sonarqube.git/commitdiff
Fix merge
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 6 Sep 2016 08:50:11 +0000 (10:50 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 6 Sep 2016 08:50:11 +0000 (10:50 +0200)
server/sonar-server/src/test/java/org/sonar/server/setting/ws/CheckSecretKeyActionTest.java
server/sonar-server/src/test/java/org/sonar/server/setting/ws/EncryptActionTest.java
server/sonar-server/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionTest.java

index 00c55ea695d7971ee375ee3581625e83418ed2f5..16ec66b53ea41437f3d6705892592dbef2fe82aa 100644 (file)
@@ -29,6 +29,7 @@ import org.junit.Test;
 import org.junit.rules.ExpectedException;
 import org.junit.rules.TemporaryFolder;
 import org.sonar.api.config.Encryption;
+import org.sonar.api.config.MapSettings;
 import org.sonar.api.config.Settings;
 import org.sonar.api.server.ws.WebService;
 import org.sonar.server.exceptions.ForbiddenException;
@@ -51,7 +52,7 @@ public class CheckSecretKeyActionTest {
   @Rule
   public TemporaryFolder temporaryFolder = new TemporaryFolder();
 
-  Settings settings = new Settings();
+  Settings settings = new MapSettings();
   Encryption encryption = settings.getEncryption();
 
   CheckSecretKeyAction underTest = new CheckSecretKeyAction(settings, userSession);
index a966535179040cb0604c603919cbb410bab56db9..43b05f269ff3c5dc7c67b33ebb26261aaac653f1 100644 (file)
@@ -31,6 +31,7 @@ import org.junit.Test;
 import org.junit.rules.ExpectedException;
 import org.junit.rules.TemporaryFolder;
 import org.sonar.api.config.Encryption;
+import org.sonar.api.config.MapSettings;
 import org.sonar.api.config.Settings;
 import org.sonar.api.server.ws.WebService;
 import org.sonar.server.exceptions.BadRequestException;
@@ -55,7 +56,7 @@ public class EncryptActionTest {
   @Rule
   public TemporaryFolder folder = new TemporaryFolder();
 
-  Settings settings = new Settings();
+  Settings settings = new MapSettings();
   Encryption encryption = settings.getEncryption();
 
   EncryptAction underTest = new EncryptAction(userSession, settings);
index 3a91a9d4c0264e4879b896f5759233f4cad586ec..1214adadbc8648de677eac4bd78643c28be8b8ff 100644 (file)
@@ -29,6 +29,7 @@ import org.junit.Test;
 import org.junit.rules.ExpectedException;
 import org.junit.rules.TemporaryFolder;
 import org.sonar.api.config.Encryption;
+import org.sonar.api.config.MapSettings;
 import org.sonar.api.config.Settings;
 import org.sonar.api.server.ws.WebService;
 import org.sonar.server.exceptions.ForbiddenException;
@@ -50,7 +51,7 @@ public class GenerateSecretKeyActionTest {
   @Rule
   public TemporaryFolder temporaryFolder = new TemporaryFolder();
 
-  Settings settings = new Settings();
+  Settings settings = new MapSettings();
   Encryption encryption = settings.getEncryption();
 
   GenerateSecretKeyAction underTest = new GenerateSecretKeyAction(settings, userSession);