Browse Source

polish

pull/313/head
Spencer Gibb 7 years ago
parent
commit
528ce8dca1
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 2
      spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/config/BootstrapConfigurationTests.java

2
spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/config/BootstrapConfigurationTests.java

@ -216,7 +216,6 @@ public class BootstrapConfigurationTests { @@ -216,7 +216,6 @@ public class BootstrapConfigurationTests {
assertEquals(this.context.getEnvironment().getPropertySources().get("bootstrap"),
((ConfigurableEnvironment) this.context.getParent().getEnvironment())
.getPropertySources().get("bootstrap"));
//TODO: is this correct based on the new boot 2 ContextIdApplicationContextInitializer
assertEquals("main-1", this.context.getId());
}
@ -249,7 +248,6 @@ public class BootstrapConfigurationTests { @@ -249,7 +248,6 @@ public class BootstrapConfigurationTests {
// other.properties (the bootstrap properties this time)
assertEquals("main", this.context.getParent().getEnvironment()
.getProperty("spring.application.name"));
//TODO: is this correct based on the new boot 2 ContextIdApplicationContextInitializer
assertEquals("main-1", this.context.getId());
}

Loading…
Cancel
Save