Skip to content

Commit 9e8e7aa

Browse files
committed
Fix SPR-12999 backport (missing test dependency)
1 parent c99cc53 commit 9e8e7aa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandlerTests.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,6 @@ public void directory() throws Exception {
258258
assertEquals(404, this.response.getStatus());
259259
}
260260

261-
@Test
262-
public void directoryInJarFile() throws Exception {
263-
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "underscorejs/");
264-
this.handler.handleRequest(this.request, this.response);
265-
assertEquals(200, this.response.getStatus());
266-
assertEquals(0, this.response.getContentLength());
267-
}
268-
269261
@Test
270262
public void missingResourcePath() throws Exception {
271263
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "");

0 commit comments

Comments
 (0)