Skip to content

Commit 3a4085a

Browse files
committed
Fix tests
Issue: SPR-13241
1 parent daf94ea commit 3a4085a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,8 @@ public void checkFileLocation() throws Exception {
128128
@Test
129129
public void resolvePathRootResource() throws Exception {
130130
Resource webjarsLocation = new ClassPathResource("/META-INF/resources/webjars/", PathResourceResolver.class);
131-
Resource actual = this.resolver.resolveResource(null, "", Arrays.asList(webjarsLocation), null);
132131
String path = this.resolver.resolveUrlPathInternal("", Arrays.asList(webjarsLocation), null);
133132

134-
assertNotNull(actual);
135-
assertTrue(actual.exists() && actual.isReadable());
136133
assertNull(path);
137134
}
138135
}

0 commit comments

Comments
 (0)