diff options
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java | 4 |
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 |