mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 08:50:28 +00:00
Merge branch '1.2.x'
This commit is contained in:
+2
-2
@@ -48,8 +48,8 @@ public class SampleWebJspApplicationTests {
|
||||
|
||||
@Test
|
||||
public void testJspWithEl() throws Exception {
|
||||
ResponseEntity<String> entity = new TestRestTemplate().getForEntity(
|
||||
"http://localhost:" + this.port, String.class);
|
||||
ResponseEntity<String> entity = new TestRestTemplate()
|
||||
.getForEntity("http://localhost:" + this.port, String.class);
|
||||
assertEquals(HttpStatus.OK, entity.getStatusCode());
|
||||
assertTrue("Wrong body:\n" + entity.getBody(),
|
||||
entity.getBody().contains("/resources/text.txt"));
|
||||
|
||||
Reference in New Issue
Block a user