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;
@Rule
public TemporaryFolder temporaryFolder = new TemporaryFolder();
- Settings settings = new Settings();
+ Settings settings = new MapSettings();
Encryption encryption = settings.getEncryption();
CheckSecretKeyAction underTest = new CheckSecretKeyAction(settings, userSession);
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;
@Rule
public TemporaryFolder folder = new TemporaryFolder();
- Settings settings = new Settings();
+ Settings settings = new MapSettings();
Encryption encryption = settings.getEncryption();
EncryptAction underTest = new EncryptAction(userSession, settings);
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;
@Rule
public TemporaryFolder temporaryFolder = new TemporaryFolder();
- Settings settings = new Settings();
+ Settings settings = new MapSettings();
Encryption encryption = settings.getEncryption();
GenerateSecretKeyAction underTest = new GenerateSecretKeyAction(settings, userSession);