Commit a05dd4a1 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent e8aa3a3a
...@@ -50,7 +50,8 @@ public class ElasticsearchDataAutoConfigurationTests { ...@@ -50,7 +50,8 @@ public class ElasticsearchDataAutoConfigurationTests {
this.context = new AnnotationConfigApplicationContext(); this.context = new AnnotationConfigApplicationContext();
TestPropertyValues.of( TestPropertyValues.of(
"spring.data.elasticsearch.properties.path.data:target/data", "spring.data.elasticsearch.properties.path.data:target/data",
"spring.data.elasticsearch.properties.path.logs:target/logs").applyTo(this.context); "spring.data.elasticsearch.properties.path.logs:target/logs")
.applyTo(this.context);
this.context.register(PropertyPlaceholderAutoConfiguration.class, this.context.register(PropertyPlaceholderAutoConfiguration.class,
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
...@@ -64,7 +65,8 @@ public class ElasticsearchDataAutoConfigurationTests { ...@@ -64,7 +65,8 @@ public class ElasticsearchDataAutoConfigurationTests {
this.context = new AnnotationConfigApplicationContext(); this.context = new AnnotationConfigApplicationContext();
TestPropertyValues.of( TestPropertyValues.of(
"spring.data.elasticsearch.properties.path.data:target/data", "spring.data.elasticsearch.properties.path.data:target/data",
"spring.data.elasticsearch.properties.path.logs:target/logs"); "spring.data.elasticsearch.properties.path.logs:target/logs")
.applyTo(this.context);;
this.context.register(PropertyPlaceholderAutoConfiguration.class, this.context.register(PropertyPlaceholderAutoConfiguration.class,
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
...@@ -79,7 +81,8 @@ public class ElasticsearchDataAutoConfigurationTests { ...@@ -79,7 +81,8 @@ public class ElasticsearchDataAutoConfigurationTests {
this.context = new AnnotationConfigApplicationContext(); this.context = new AnnotationConfigApplicationContext();
TestPropertyValues.of( TestPropertyValues.of(
"spring.data.elasticsearch.properties.path.data:target/data", "spring.data.elasticsearch.properties.path.data:target/data",
"spring.data.elasticsearch.properties.path.logs:target/logs"); "spring.data.elasticsearch.properties.path.logs:target/logs")
.applyTo(this.context);
this.context.register(PropertyPlaceholderAutoConfiguration.class, this.context.register(PropertyPlaceholderAutoConfiguration.class,
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment