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
This commit is contained in:
Stephane Nicoll
2015-03-28 12:23:30 +01:00
parent a7fec6a459
commit 073c176400

View File

@@ -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);