Polish
See gh-13776
This commit is contained in:
committed by
Stephane Nicoll
parent
f325ee9406
commit
068e22d60b
@@ -63,7 +63,8 @@ public class SampleWebJspApplicationTests {
|
||||
URI.create("/foo"));
|
||||
ResponseEntity<String> entity = this.restTemplate.exchange(request, String.class);
|
||||
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR);
|
||||
assertThat(entity.getBody()).contains("Something went wrong");
|
||||
assertThat(entity.getBody())
|
||||
.contains("Something went wrong: 500 Internal Server Error");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user