Merge branch '1.4.x' into 1.5.x
This commit is contained in:
@@ -799,7 +799,7 @@ public class SpringApplicationTests {
|
||||
this.context = application.run();
|
||||
assertThat(this.context.getEnvironment())
|
||||
.isNotInstanceOf(StandardServletEnvironment.class);
|
||||
assertThat(this.context.getEnvironment().getProperty("foo"));
|
||||
assertThat(this.context.getEnvironment().getProperty("foo")).isEqualTo("bar");
|
||||
assertThat(this.context.getEnvironment().getPropertySources().iterator().next()
|
||||
.getName()).isEqualTo(
|
||||
TestPropertySourceUtils.INLINED_PROPERTIES_PROPERTY_SOURCE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user