Commit 18aa9be4 authored by Phillip Webb's avatar Phillip Webb

Merge branch '1.4.x' into 1.5.x

parents 0fca9aac 21bfe526
...@@ -60,4 +60,11 @@ public class SampleDevToolsApplicationIntegrationTests { ...@@ -60,4 +60,11 @@ public class SampleDevToolsApplicationIntegrationTests {
assertThat(entity.getBody()).contains("public file"); assertThat(entity.getBody()).contains("public file");
} }
@Test
public void testClassResource() throws Exception {
ResponseEntity<String> entity = this.restTemplate
.getForEntity("/application.properties", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment