From 106cce58cc32ef5afcbe17cf6bb18e325591a1be Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 17 Jul 2015 13:32:38 +0200 Subject: [PATCH] Fix tests Issue: SPR-13241 --- .../web/servlet/resource/PathResourceResolverTests.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java index 7807011631..e7e6dcc58c 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/resource/PathResourceResolverTests.java @@ -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); } }