Skip to content

Commit 18afe8b

Browse files
dsyerphilwebb
authored andcommitted
Fixup incorrect property name
The property in XADataSourceAutoConfigurationTests should be `data-source-class-name`. Previously the `-name` was missing.
1 parent b3d8e32 commit 18afe8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void createFromUrl() throws Exception {
6666
public void createFromClass() throws Exception {
6767
ApplicationContext context = createContext(
6868
FromProperties.class,
69-
"spring.datasource.xa.data-source-class:org.hsqldb.jdbc.pool.JDBCXADataSource",
69+
"spring.datasource.xa.data-source-class-name:org.hsqldb.jdbc.pool.JDBCXADataSource",
7070
"spring.datasource.xa.properties.database-name:test");
7171
context.getBean(DataSource.class);
7272
MockXADataSourceWrapper wrapper = context.getBean(MockXADataSourceWrapper.class);

0 commit comments

Comments
 (0)