Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Nov 19, 2021
1 parent dd1d148 commit b6d0b44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Environment getEnvironment() {
}

@Test
@SuppressWarnings({ "rawtypes", "unchecked" })
void testInsecureApplicationPath() {
@SuppressWarnings("rawtypes")
ResponseEntity<Map> entity = restTemplate().getForEntity(getPath() + "/foo", Map.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR);
assertThat(entity.getBody()).isNull();
Expand Down

0 comments on commit b6d0b44

Please sign in to comment.