Fix tests

Issue: SPR-13241
This commit is contained in:
Brian Clozel 2015-07-17 13:32:38 +02:00
parent ec5019dbae
commit 106cce58cc
1 changed files with 0 additions and 3 deletions

View File

@ -128,11 +128,8 @@ public class PathResourceResolverTests {
@Test
public void resolvePathRootResource() throws Exception {
Resource webjarsLocation = new ClassPathResource("/META-INF/resources/webjars/", PathResourceResolver.class);
Resource actual = this.resolver.resolveResource(null, "", Arrays.asList(webjarsLocation), null);
String path = this.resolver.resolveUrlPathInternal("", Arrays.asList(webjarsLocation), null);
assertNotNull(actual);
assertTrue(actual.exists() && actual.isReadable());
assertNull(path);
}
}