Fixed#163 do not require driver class name when JDBC URL is specified, newer drivers following the service registration model will be automatically located by the DriverManager.

pull/192/head
Brett Wooldridge 11 years ago
parent 89b3ce00ee
commit f96f515cfe

@ -106,20 +106,6 @@ public class TestValidation
}
}
@Test
public void validateMissingDriver()
{
try {
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc:stub");
config.validate();
Assert.fail();
}
catch (IllegalStateException ise) {
// pass
}
}
@Test
public void validateBadDriver()
{

@ -106,20 +106,6 @@ public class TestValidation
}
}
@Test
public void validateMissingDriver()
{
try {
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc:stub");
config.validate();
Assert.fail();
}
catch (IllegalStateException ise) {
// pass
}
}
@Test
public void validateBadDriver()
{

Loading…
Cancel
Save