From 073c1764002d310b2d4689b1e5293f2b4431251e Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 28 Mar 2015 12:23:30 +0100 Subject: [PATCH] Fix test The rework of 314b069 in a7fec6a has created a lazy proxy to make sure that the need for an exception cache resolver come as late as possible. Unfortunately, the test that was only failing on CI because of an early lookup has not been updated accordingly. This is now the case. Issue: SPR-12850 --- .../cache/jcache/config/JCacheJavaConfigTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java b/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java index 94cf49bc0e..7ac5434b0d 100644 --- a/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java +++ b/spring-context-support/src/test/java/org/springframework/cache/jcache/config/JCacheJavaConfigTests.java @@ -108,7 +108,6 @@ public class JCacheJavaConfigTests extends AbstractJCacheAnnotationTests { try { DefaultJCacheOperationSource cos = context.getBean(DefaultJCacheOperationSource.class); assertSame(context.getBean("cacheResolver"), cos.getCacheResolver()); - assertNull(cos.getExceptionCacheResolver()); JCacheableService service = context.getBean(JCacheableService.class);