Fix SPR-12999 backport (missing test dependency)
This commit is contained in:
@@ -258,14 +258,6 @@ public class ResourceHttpRequestHandlerTests {
|
|||||||
assertEquals(404, this.response.getStatus());
|
assertEquals(404, this.response.getStatus());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void directoryInJarFile() throws Exception {
|
|
||||||
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "underscorejs/");
|
|
||||||
this.handler.handleRequest(this.request, this.response);
|
|
||||||
assertEquals(200, this.response.getStatus());
|
|
||||||
assertEquals(0, this.response.getContentLength());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void missingResourcePath() throws Exception {
|
public void missingResourcePath() throws Exception {
|
||||||
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "");
|
this.request.setAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user