Merge branch '1.4.x' into 1.5.x

pull/8474/merge
Andy Wilkinson 8 years ago
commit 50c0204f2d

@ -59,8 +59,8 @@ public class EmbeddedServletContainerJarDevelopmentIntegrationTests
@Test @Test
public void metaInfResourceFromDependencyIsAvailableViaServletContext() public void metaInfResourceFromDependencyIsAvailableViaServletContext()
throws Exception { throws Exception {
ResponseEntity<String> entity = this.rest ResponseEntity<String> entity = this.rest.getForEntity(
.getForEntity("/nested-meta-inf-resource.txt", String.class); "/servletContext?/nested-meta-inf-resource.txt", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK); assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK);
} }

@ -59,8 +59,8 @@ public class EmbeddedServletContainerJarPackagingIntegrationTests
@Test @Test
public void nestedMetaInfResourceIsAvailableViaServletContext() throws Exception { public void nestedMetaInfResourceIsAvailableViaServletContext() throws Exception {
ResponseEntity<String> entity = this.rest ResponseEntity<String> entity = this.rest.getForEntity(
.getForEntity("/nested-meta-inf-resource.txt", String.class); "/servletContext?/nested-meta-inf-resource.txt", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK); assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK);
} }

@ -59,8 +59,8 @@ public class EmbeddedServletContainerWarDevelopmentIntegrationTests
@Test @Test
public void metaInfResourceFromDependencyIsAvailableViaServletContext() public void metaInfResourceFromDependencyIsAvailableViaServletContext()
throws Exception { throws Exception {
ResponseEntity<String> entity = this.rest ResponseEntity<String> entity = this.rest.getForEntity(
.getForEntity("/nested-meta-inf-resource.txt", String.class); "/servletContext?/nested-meta-inf-resource.txt", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK); assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK);
} }

@ -59,8 +59,8 @@ public class EmbeddedServletContainerWarPackagingIntegrationTests
@Test @Test
public void nestedMetaInfResourceIsAvailableViaServletContext() throws Exception { public void nestedMetaInfResourceIsAvailableViaServletContext() throws Exception {
ResponseEntity<String> entity = this.rest ResponseEntity<String> entity = this.rest.getForEntity(
.getForEntity("/nested-meta-inf-resource.txt", String.class); "/servletContext?/nested-meta-inf-resource.txt", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK); assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.OK);
} }

Loading…
Cancel
Save