Commit 93a33f01 authored by Dave Syer's avatar Dave Syer

Fix test

parent 2378fe09
...@@ -23,9 +23,9 @@ public class DataSourcePropertiesTests { ...@@ -23,9 +23,9 @@ public class DataSourcePropertiesTests {
public void driverClassNameFromDriverClassNamePropertyWhenDefined() { public void driverClassNameFromDriverClassNamePropertyWhenDefined() {
DataSourceProperties configuration = new DataSourceProperties(); DataSourceProperties configuration = new DataSourceProperties();
configuration.setUrl("jdbc:mysql://mydb"); configuration.setUrl("jdbc:mysql://mydb");
configuration.setDriverClassName("my.driver.ClassName"); configuration.setDriverClassName("org.hsqldb.jdbcDriver");
String driverClassName = configuration.getDriverClassName(); String driverClassName = configuration.getDriverClassName();
assertEquals(driverClassName, "my.driver.ClassName"); assertEquals(driverClassName, "org.hsqldb.jdbcDriver");
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment