mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fixup incorrect property name
The property in XADataSourceAutoConfigurationTests should be `data-source-class-name`. Previously the `-name` was missing.
This commit is contained in:
parent
b3d8e32ccf
commit
18afe8bd0c
@ -66,7 +66,7 @@ public class XADataSourceAutoConfigurationTests {
|
||||
public void createFromClass() throws Exception {
|
||||
ApplicationContext context = createContext(
|
||||
FromProperties.class,
|
||||
"spring.datasource.xa.data-source-class:org.hsqldb.jdbc.pool.JDBCXADataSource",
|
||||
"spring.datasource.xa.data-source-class-name:org.hsqldb.jdbc.pool.JDBCXADataSource",
|
||||
"spring.datasource.xa.properties.database-name:test");
|
||||
context.getBean(DataSource.class);
|
||||
MockXADataSourceWrapper wrapper = context.getBean(MockXADataSourceWrapper.class);
|
||||
|
Loading…
Reference in New Issue
Block a user