parent
0e50e87e58
commit
72eaf93dba
|
@ -103,6 +103,7 @@ class DataSourcePropertiesTests {
|
|||
DataSourceProperties properties = new DataSourceProperties();
|
||||
properties.setUsername("");
|
||||
properties.afterPropertiesSet();
|
||||
assertThat(properties.getUsername()).isEqualTo("");
|
||||
assertThat(properties.determineUsername()).isEqualTo("sa");
|
||||
}
|
||||
|
||||
|
@ -111,6 +112,7 @@ class DataSourcePropertiesTests {
|
|||
DataSourceProperties properties = new DataSourceProperties();
|
||||
properties.setUsername(null);
|
||||
properties.afterPropertiesSet();
|
||||
assertThat(properties.getUsername()).isNull();
|
||||
assertThat(properties.determineUsername()).isEqualTo("sa");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue