Upgrade to spring-javaformat 0.0.11
This commit is contained in:
@@ -53,12 +53,11 @@ public class SampleWebStaticApplicationTests {
|
||||
|
||||
@Test
|
||||
public void testCss() throws Exception {
|
||||
ResponseEntity<String> entity = this.restTemplate.getForEntity(
|
||||
"/webjars/bootstrap/3.0.3/css/bootstrap.min.css", String.class);
|
||||
ResponseEntity<String> entity = this.restTemplate.getForEntity("/webjars/bootstrap/3.0.3/css/bootstrap.min.css",
|
||||
String.class);
|
||||
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK);
|
||||
assertThat(entity.getBody()).contains("body");
|
||||
assertThat(entity.getHeaders().getContentType())
|
||||
.isEqualTo(MediaType.valueOf("text/css"));
|
||||
assertThat(entity.getHeaders().getContentType()).isEqualTo(MediaType.valueOf("text/css"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user