Correct test expectations following changes to application context ID

See gh-11023
This commit is contained in:
Andy Wilkinson
2018-01-10 14:12:06 +00:00
parent 2059922735
commit db83a80deb
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ public class SpringBootTestContextBootstrapperIntegrationTests {
@Test
public void contextWasCreatedViaSpringApplication() {
assertThat(this.context.getId()).startsWith("application:");
assertThat(this.context.getId()).startsWith("application");
}
@Test

View File

@@ -52,7 +52,7 @@ public class SpringBootTestContextBootstrapperWithContextConfigurationTests {
@Test
public void contextWasCreatedViaSpringApplication() {
assertThat(this.context.getId()).startsWith("application:");
assertThat(this.context.getId()).startsWith("application");
}
}