Skip to content

Commit b6d0b44

Browse files
committed
1 parent dd1d148 commit b6d0b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/src/test/java/smoketest/actuator/customsecurity/SampleActuatorCustomSecurityApplicationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Environment getEnvironment() {
6262
}
6363

6464
@Test
65+
@SuppressWarnings({ "rawtypes", "unchecked" })
6566
void testInsecureApplicationPath() {
66-
@SuppressWarnings("rawtypes")
6767
ResponseEntity<Map> entity = restTemplate().getForEntity(getPath() + "/foo", Map.class);
6868
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR);
6969
assertThat(entity.getBody()).isNull();

0 commit comments

Comments
 (0)