Remove a duplicate test

Closes gh-5615
This commit is contained in:
Johnny Lim 2016-04-06 17:20:52 +09:00 committed by Andy Wilkinson
parent d138c1a61f
commit ec83d97443
1 changed files with 0 additions and 13 deletions

View File

@ -68,19 +68,6 @@ public class DevToolsDataSourceAutoConfigurationTests {
verify(dataSource, times(0)).getConnection();
}
@Test
public void nonEmbeddedInMemoryDatabaseIsShutDown() throws SQLException {
ConfigurableApplicationContext context = createContextWithDriver("org.h2.Driver",
DataSourceConfiguration.class);
DataSource dataSource = context.getBean(DataSource.class);
Connection connection = mock(Connection.class);
given(dataSource.getConnection()).willReturn(connection);
Statement statement = mock(Statement.class);
given(connection.createStatement()).willReturn(statement);
context.close();
verify(statement).execute("SHUTDOWN");
}
@Test
public void nonEmbeddedInMemoryDatabaseConfiguredWithDriverIsShutDown()
throws SQLException {