Polish
Closes gh-5714
This commit is contained in:
committed by
Stephane Nicoll
parent
15dee60049
commit
6d48ee9593
@@ -80,7 +80,7 @@ public class DataJpaTestIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void replacesDefinedDatasourceWithEmbeddedDefault() throws Exception {
|
||||
public void replacesDefinedDataSourceWithEmbeddedDefault() throws Exception {
|
||||
String product = this.dataSource.getConnection().getMetaData()
|
||||
.getDatabaseProductName();
|
||||
assertThat(product).isEqualTo("H2");
|
||||
|
||||
@@ -61,8 +61,8 @@ public class DataJpaTestWithAutoConfigureTestDatabaseReplaceExplicitIntegrationT
|
||||
}
|
||||
|
||||
@Test
|
||||
public void replacesDefinedDatasourceWithExplicit() throws Exception {
|
||||
// H2 is explicitly defined by HSQL is the override
|
||||
public void replacesDefinedDataSourceWithExplicit() throws Exception {
|
||||
// H2 is explicitly defined but HSQL is the override.
|
||||
String product = this.dataSource.getConnection().getMetaData()
|
||||
.getDatabaseProductName();
|
||||
assertThat(product).startsWith("HSQL");
|
||||
|
||||
Reference in New Issue
Block a user