aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-28 21:37:21 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-28 21:37:21 +0200
commit4bee8f9892ddda7497187edc97c08d1935069a98 (patch)
treea5865251a8bf2c8c71efce26c222244c42357c48 /sonar-core/src/test
parent78cd89b41c20f6ae5793f8b0b110882daccb15dc (diff)
downloadsonarqube-4bee8f9892ddda7497187edc97c08d1935069a98.tar.gz
sonarqube-4bee8f9892ddda7497187edc97c08d1935069a98.zip
SONAR-5492 Remove ability to configure JDBC driver class name
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r--sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java b/sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java
index 2bf2a1d1e6e..094c68aac59 100644
--- a/sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java
@@ -45,9 +45,8 @@ public class DefaultDatabaseTest {
}
@Test
- public void shouldSupportDeprecatedProperties() {
+ public void shouldSupportDeprecatedUserProperty() {
Settings settings = new Settings();
- settings.setProperty("sonar.jdbc.driver", "my.Driver");
settings.setProperty("sonar.jdbc.user", "me");
DefaultDatabase db = new DefaultDatabase(settings);
@@ -55,7 +54,6 @@ public class DefaultDatabaseTest {
Properties props = db.getProperties();
assertThat(props.getProperty("sonar.jdbc.username")).isEqualTo("me");
- assertThat(props.getProperty("sonar.jdbc.driverClassName")).isEqualTo("my.Driver");
}
@Test