mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
Correct test expectations following changes to application context ID
See gh-11023
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ public class SpringBootTestContextBootstrapperIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void contextWasCreatedViaSpringApplication() {
|
||||
assertThat(this.context.getId()).startsWith("application:");
|
||||
assertThat(this.context.getId()).startsWith("application");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+1
-1
@@ -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