Correct test expectations following changes to application context ID
See gh-11023
This commit is contained in:
@@ -54,7 +54,7 @@ public class SpringBootTestContextBootstrapperIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void contextWasCreatedViaSpringApplication() {
|
||||
assertThat(this.context.getId()).startsWith("application:");
|
||||
assertThat(this.context.getId()).startsWith("application");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -52,7 +52,7 @@ public class SpringBootTestContextBootstrapperWithContextConfigurationTests {
|
||||
|
||||
@Test
|
||||
public void contextWasCreatedViaSpringApplication() {
|
||||
assertThat(this.context.getId()).startsWith("application:");
|
||||
assertThat(this.context.getId()).startsWith("application");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user