diff --git a/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java b/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java index 25743c280a..29c576d04f 100644 --- a/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java +++ b/core/src/test/java/org/acegisecurity/intercept/web/FilterSecurityInterceptorTests.java @@ -241,7 +241,9 @@ public class FilterSecurityInterceptorTests extends TestCase { PathBasedFilterInvocationDefinitionMap filterInvocationDefinitionSource = new PathBasedFilterInvocationDefinitionMap(); filterInvocationDefinitionSource .setConvertUrlToLowercaseBeforeComparison(true); - filterInvocationDefinitionSource.setMappings(mappings); + FilterInvocationDefinitionMapDecorator decorator = new FilterInvocationDefinitionMapDecorator( + filterInvocationDefinitionSource); + decorator.setMappings(mappings); FilterSecurityInterceptor filter = new FilterSecurityInterceptor(); filter.setObjectDefinitionSource(filterInvocationDefinitionSource);