Browse Source

Whoops, almost forgot to remove System.out debug lines :-/

1.0.x
Scott McCrory 21 years ago
parent
commit
f5975dcf30
  1. 3
      core/src/test/java/org/acegisecurity/util/FilterChainProxyTests.java

3
core/src/test/java/org/acegisecurity/util/FilterChainProxyTests.java

@ -69,8 +69,7 @@ public class FilterChainProxyTests extends TestCase {
filterChainProxy.afterPropertiesSet(); filterChainProxy.afterPropertiesSet();
fail("Should have thrown IllegalArgumentException"); fail("Should have thrown IllegalArgumentException");
} catch (IllegalArgumentException expected) { } catch (IllegalArgumentException expected) {
System.out.println(expected.getMessage()); assertEquals("FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
assertEquals("Exception message mismatch", "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
expected.getMessage()); expected.getMessage());
} }
} }

Loading…
Cancel
Save