Commit db83a80d authored by Andy Wilkinson's avatar Andy Wilkinson

Correct test expectations following changes to application context ID

See gh-11023
parent 20599227
...@@ -54,7 +54,7 @@ public class SpringBootTestContextBootstrapperIntegrationTests { ...@@ -54,7 +54,7 @@ public class SpringBootTestContextBootstrapperIntegrationTests {
@Test @Test
public void contextWasCreatedViaSpringApplication() { public void contextWasCreatedViaSpringApplication() {
assertThat(this.context.getId()).startsWith("application:"); assertThat(this.context.getId()).startsWith("application");
} }
@Test @Test
......
...@@ -52,7 +52,7 @@ public class SpringBootTestContextBootstrapperWithContextConfigurationTests { ...@@ -52,7 +52,7 @@ public class SpringBootTestContextBootstrapperWithContextConfigurationTests {
@Test @Test
public void contextWasCreatedViaSpringApplication() { public void contextWasCreatedViaSpringApplication() {
assertThat(this.context.getId()).startsWith("application:"); assertThat(this.context.getId()).startsWith("application");
} }
} }
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