mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-09 19:09:03 +00:00
Fix tests
See gh-12838
This commit is contained in:
+2
-1
@@ -161,7 +161,8 @@ public class SampleActuatorApplicationTests {
|
||||
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR);
|
||||
String body = entity.getBody();
|
||||
assertThat(body).as("Body was null").isNotNull();
|
||||
assertThat(body).contains("This application has no explicit mapping for /error");
|
||||
assertThat(body).contains(
|
||||
"This application has no configured error view, so you are seeing this as a fallback.");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user