Closes gh-9438
This commit is contained in:
Johnny Lim
2017-06-09 00:49:55 +09:00
committed by Stephane Nicoll
parent fe3e1cf1d3
commit bbab520926
4 changed files with 7 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class);
this.context.refresh();
asssertHasSingleBean(ElasticsearchTemplate.class);
assertHasSingleBean(ElasticsearchTemplate.class);
}
@Test
@@ -70,7 +70,7 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class);
this.context.refresh();
asssertHasSingleBean(SimpleElasticsearchMappingContext.class);
assertHasSingleBean(SimpleElasticsearchMappingContext.class);
}
@Test
@@ -84,10 +84,10 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class);
this.context.refresh();
asssertHasSingleBean(ElasticsearchConverter.class);
assertHasSingleBean(ElasticsearchConverter.class);
}
private void asssertHasSingleBean(Class<?> type) {
private void assertHasSingleBean(Class<?> type) {
assertThat(this.context.getBeanNamesForType(type)).hasSize(1);
}

View File

@@ -714,7 +714,7 @@ content into your application; rather pick only the properties that you need.
spring.h2.console.settings.trace=false # Enable trace output.
spring.h2.console.settings.web-allow-others=false # Enable remote access.
# InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxProperties.{sc-ext}[InfluxProperties])
# InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxDbProperties.{sc-ext}[InfluxDbProperties])
spring.influx.password= # Login password.
spring.influx.url= # Url of the InfluxDB instance to connect to.
spring.influx.user= # Login user.

View File

@@ -620,7 +620,7 @@ typically in `application.properties` or `application.yml`. For example:
server.ssl.key-password=another-secret
----
See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of the
See {sc-spring-boot}/web/server/Ssl.{sc-ext}[`Ssl`] for details of all of the
supported properties.
Using configuration like the example above means the application will no longer support

View File

@@ -44,7 +44,7 @@ public class SystemEnvironmentPropertySourceEnvironmentPostProcessorTests {
}
@Test
public void postProcessShouldReplaceSystemEnviromentPropertySource()
public void postProcessShouldReplaceSystemEnvironmentPropertySource()
throws Exception {
SystemEnvironmentPropertySourceEnvironmentPostProcessor postProcessor = new SystemEnvironmentPropertySourceEnvironmentPostProcessor();
postProcessor.postProcessEnvironment(this.environment, null);