Re-instate test when fixed
This commit is contained in:
parent
bb50e1ef8c
commit
c5d46d0cab
|
|
@ -20,7 +20,6 @@ import javax.annotation.PostConstruct;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.springframework.beans.factory.BeanCreationException;
|
import org.springframework.beans.factory.BeanCreationException;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
|
|
@ -133,7 +132,6 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("WIP")
|
|
||||||
public void testValueBindingForDefaults() throws Exception {
|
public void testValueBindingForDefaults() throws Exception {
|
||||||
this.context = new AnnotationConfigApplicationContext();
|
this.context = new AnnotationConfigApplicationContext();
|
||||||
EnvironmentTestUtils.addEnvironment(this.context, "default.value:foo");
|
EnvironmentTestUtils.addEnvironment(this.context, "default.value:foo");
|
||||||
|
|
@ -294,6 +292,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
|
||||||
return this.value;
|
return this.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Bean
|
||||||
public static PropertySourcesPlaceholderConfigurer configurer() {
|
public static PropertySourcesPlaceholderConfigurer configurer() {
|
||||||
return new PropertySourcesPlaceholderConfigurer();
|
return new PropertySourcesPlaceholderConfigurer();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue