See gh-23762
This commit is contained in:
izeye
2020-10-20 20:47:42 +09:00
committed by Stephane Nicoll
parent 0aa0cba3f7
commit 0e50e87e58
2 changed files with 3 additions and 4 deletions

View File

@@ -103,7 +103,6 @@ class DataSourcePropertiesTests {
DataSourceProperties properties = new DataSourceProperties();
properties.setUsername("");
properties.afterPropertiesSet();
assertThat(properties.getUsername());
assertThat(properties.determineUsername()).isEqualTo("sa");
}
@@ -112,7 +111,6 @@ class DataSourcePropertiesTests {
DataSourceProperties properties = new DataSourceProperties();
properties.setUsername(null);
properties.afterPropertiesSet();
assertThat(properties.getUsername());
assertThat(properties.determineUsername()).isEqualTo("sa");
}